<clientCredentials>
Specifies the credentials used to authenticate the client to a service.
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior> of <endpointBehaviors>
<clientCredentials>
<clientCredentials type="String"
supportInteractive="Boolean" >
<clientCertificate>
</clientCertificate>
<digest>
</digest>
<isuedToken>
</isuedToken>
<peer>
</peer>
<serviceCertificate>
</serviceCertificate>
<windowsAuthentication>
</windowsAuthentication>
</clientCredentials>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
supportInteractive |
A Boolean value that specifies whether an interactive user can be involved in selecting a client credential at runtime. The default value is true. |
type |
A string that specifies the type of this configuration element. |
Child Elements
Element | Description |
---|---|
Specifies the certificate used to authenticate the client to the service. This element is of type X509InitiatorCertificateClientElement. |
|
Specifies a digest used to authenticate the client to the service. This element is of type HttpDigestClientElement. |
|
Specifies a custom token type used to authenticate the client to a Secure Token Service (STS). This element is of type IssuedTokenClientElement. |
|
Specifies a current peer credential. This element is of type PeerCredentialElement. |
|
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 X509RecipientCertificateClientElement. |
|
Specifies a Windows credential. The default is the credential of the current thread. This element is of type WindowsClientElement. |
Parent Elements
Element | Description |
---|---|
Specifies an endpoint behavior. |
See Also
Reference
Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.