Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.