Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.