Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.