You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -33,40 +33,40 @@ Specifies the credentials used to authenticate the client to a service.
33
33
<windowsAuthentication>
34
34
</windowsAuthentication>
35
35
</clientCredentials>
36
-
```
37
-
38
-
## Attributes and Elements
39
-
40
-
The following sections describe attributes, child elements, and parent elements.
41
-
42
-
### Attributes
43
-
44
-
|Attribute|Description|
45
-
|---------------|-----------------|
46
-
|`supportInteractive`|A Boolean value that specifies whether an interactive user can be involved in selecting a client credential at run time. The default value is `true`.|
47
-
|`type`|A string that specifies the type of this configuration element.|
48
-
49
-
### Child Elements
50
-
51
-
|Element|Description|
52
-
|-------------|-----------------|
53
-
|[\<clientCertificate>](clientcertificate-of-clientcredentials-element.md)|Specifies the certificate used to authenticate the client to the service. This element is of type <xref:System.ServiceModel.Configuration.X509InitiatorCertificateClientElement>.|
54
-
|[\<httpDigest>](httpdigest-element.md)|Specifies a digest used to authenticate the client to the service. This element is of type <xref:System.ServiceModel.Configuration.HttpDigestClientElement>.|
55
-
|[\<issuedToken>](issuedtoken.md)|Specifies a custom token type used to authenticate the client to a Secure Token Service (STS). This element is of type <xref:System.ServiceModel.Configuration.IssuedTokenClientElement>.|
56
-
|[\<peer>](peer-of-clientcredentials-element.md)|Specifies a current peer credential. This element is of type <xref:System.ServiceModel.Configuration.PeerCredentialElement>.|
57
-
|[\<serviceCertificate>](servicecertificate-of-clientcredentials-element.md)|Specifies the certificate used to authenticate the service to the client and provides a structure for setting certificate options. This certificate must be supplied out-of-band from the service to the client. This element is of type <xref:System.ServiceModel.Configuration.X509RecipientCertificateClientElement>.|
58
-
|[\<windows>](windows-of-clientcredentials-element.md)|Specifies a Windows credential. The default is the credential of the current thread. This element is of type <xref:System.ServiceModel.Configuration.WindowsClientElement>.|
59
-
60
-
### Parent Elements
61
-
62
-
|Element|Description|
63
-
|-------------|-----------------|
64
-
|[\<behavior>](behavior-of-endpointbehaviors.md)|Specifies an endpoint behavior.|
65
-
66
-
## Remarks
67
-
68
-
Client credentials are used to authenticate the client to services in cases where mutual authentication is required. This configuration section can also be used to specify service certificates for scenarios where the client must secure messages to a service with the service's certificate.
69
-
36
+
```
37
+
38
+
## Attributes and Elements
39
+
40
+
The following sections describe attributes, child elements, and parent elements.
41
+
42
+
### Attributes
43
+
44
+
|Attribute|Description|
45
+
|---------------|-----------------|
46
+
|`supportInteractive`|A Boolean value that specifies whether an interactive user can be involved in selecting a client credential at run time. The default value is `true`.|
47
+
|`type`|A string that specifies the type of this configuration element.|
48
+
49
+
### Child Elements
50
+
51
+
|Element|Description|
52
+
|-------------|-----------------|
53
+
|[\<clientCertificate>](clientcertificate-of-clientcredentials-element.md)|Specifies the certificate used to authenticate the client to the service. This element is of type <xref:System.ServiceModel.Configuration.X509InitiatorCertificateClientElement>.|
54
+
|[\<httpDigest>](httpdigest-element.md)|Specifies a digest used to authenticate the client to the service. This element is of type <xref:System.ServiceModel.Configuration.HttpDigestClientElement>.|
55
+
|[\<issuedToken>](issuedtoken.md)|Specifies a custom token type used to authenticate the client to a Security Token Service (STS). This element is of type <xref:System.ServiceModel.Configuration.IssuedTokenClientElement>.|
56
+
|[\<peer>](peer-of-clientcredentials-element.md)|Specifies a current peer credential. This element is of type <xref:System.ServiceModel.Configuration.PeerCredentialElement>.|
57
+
|[\<serviceCertificate>](servicecertificate-of-clientcredentials-element.md)|Specifies the certificate used to authenticate the service to the client and provides a structure for setting certificate options. This certificate must be supplied out-of-band from the service to the client. This element is of type <xref:System.ServiceModel.Configuration.X509RecipientCertificateClientElement>.|
58
+
|[\<windows>](windows-of-clientcredentials-element.md)|Specifies a Windows credential. The default is the credential of the current thread. This element is of type <xref:System.ServiceModel.Configuration.WindowsClientElement>.|
59
+
60
+
### Parent Elements
61
+
62
+
|Element|Description|
63
+
|-------------|-----------------|
64
+
|[\<behavior>](behavior-of-endpointbehaviors.md)|Specifies an endpoint behavior.|
65
+
66
+
## Remarks
67
+
68
+
Client credentials are used to authenticate the client to services in cases where mutual authentication is required. This configuration section can also be used to specify service certificates for scenarios where the client must secure messages to a service with the service's certificate.
The following sections describe attributes, child elements, and parent elements
32
-
33
-
### Attributes
34
-
35
-
|Attribute|Description|
36
-
|---------------|-----------------|
37
-
|findValue|String. The value to search for.|
38
-
|x509FindType|Enumeration. One of the certificate fields to search.|
39
-
|storeLocation|Enumeration. One of the two system store locations to search.|
40
-
|storeName|Enumeration. One of the system stores to search.|
41
-
42
-
## findValue Attribute
43
-
44
-
|Value|Description|
45
-
|-----------|-----------------|
46
-
|String|The value depends on the field (specified by the X509FindType attribute) being searched. For example, if searching for a thumbprint, the value must be a string of hexadecimal numbers.|
|[\<serviceCertificate>](servicecertificate-of-clientcredentials-element.md)|Specifies a certificate to use when authenticating a service to the client.|
75
-
76
-
## Remarks
77
-
78
-
For bindings that use certificate-based message security, certificate specified by this configuration element is used to encrypt messages to the service and is expected to be used by the service for signing replies to the client. It stores a single certificate to be used when no certificate is specified by a service.
79
-
80
-
## Example
81
-
82
-
The following example specifies a certificate to use for endpoints whose URI begins with `http://www.contoso.com` and a certificate to use for all other endpoints that do not perform certificate negotiation.
83
-
84
-
```xml
27
+
```
28
+
29
+
## Attributes and Elements
30
+
31
+
The following sections describe attributes, child elements, and parent elements
32
+
33
+
### Attributes
34
+
35
+
|Attribute|Description|
36
+
|---------------|-----------------|
37
+
|findValue|String. The value to search for.|
38
+
|x509FindType|Enumeration. One of the certificate fields to search.|
39
+
|storeLocation|Enumeration. One of the two system store locations to search.|
40
+
|storeName|Enumeration. One of the system stores to search.|
41
+
42
+
## findValue Attribute
43
+
44
+
|Value|Description|
45
+
|-----------|-----------------|
46
+
|String|The value depends on the field (specified by the X509FindType attribute) being searched. For example, if searching for a thumbprint, the value must be a string of hexadecimal numbers.|
|[\<serviceCertificate>](servicecertificate-of-clientcredentials-element.md)|Specifies a certificate to use when authenticating a service to the client.|
75
+
76
+
## Remarks
77
+
78
+
For bindings that use certificate-based message security, certificate specified by this configuration element is used to encrypt messages to the service and is expected to be used by the service for signing replies to the client. It stores a single certificate to be used when no certificate is specified by a service.
79
+
80
+
## Example
81
+
82
+
The following example specifies a certificate to use for endpoints whose URI begins with `http://www.contoso.com` and a certificate to use for all other endpoints that do not perform certificate negotiation.
83
+
84
+
```xml
85
85
<serviceCertificate>
86
86
<defaultCertificatefindValue="www.contoso.com"
87
87
storeLocation="LocalMachine"
@@ -97,8 +97,8 @@ Specifies an X.509 certificate to be used when a service or STS does not provide
0 commit comments