<serviceCredentials>
Specifies the credential to be used in authenticating the service and the client credential validation-related settings.
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceCredentials>
Syntax
<serviceCredentials type="String">
<clientCertificate>
</clientCertificate>
<issuedTokenAuthentication>
</issuedTokenAuthentication>
<peer>
</peer>
<secureConversationAuthentication>
</secureConversationAuthentication>
<serviceCertificate>
</serviceCertificate>
<userNameAuthentication>
</userNameAuthentication>
<windowsAuthentication>
</windowsAuthentication>
</serviceCredentials>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
type |
A string that specifies the type of this configuration element. |
Child Elements
Element | Description |
---|---|
<clientCertificate> | Specifies the certificate to be used when the client certificate is available out-of-band. This element also specifies client certificate validation settings. This element is of type X509InitiatorCertificateServiceElement. |
<issuedTokenAuthentication> | Specifies the current issued token for this service. This element is of type IssuedTokenServiceElement. |
<peer> | Specifies the current credentials for a peer node. This element is of type PeerCredentialElement. |
<secureConversationAuthentication> | Specifies the current credentials for a secure conversation. This element is of type SecureConversationServiceElement. |
<serviceCertificate> | Specifies a certificate used by a service to identify itself. This element is of type X509RecipientCertificateServiceElement. |
<userNameAuthentication> | Specifies the settings for username password validation. This element is of type UserNameServiceElement. |
<windowsAuthentication> | Specifies the settings for Windows credential validation. This element is of type WindowsServiceElement. |
Parent Elements
Element | Description |
---|---|
<behavior> | Specifies a behavior element. |
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.