指定用於認證服務的憑證及用戶端憑證驗證相關設定。
<組態>
<system.service模型>
<行為>
<服務行為>
<態度>
<服務憑證>
語法
<serviceCredentials type="String">
<clientCertificate>
</clientCertificate>
<issuedTokenAuthentication>
</issuedTokenAuthentication>
<peer>
</peer>
<secureConversationAuthentication>
</secureConversationAuthentication>
<serviceCertificate>
</serviceCertificate>
<userNameAuthentication>
</userNameAuthentication>
<windowsAuthentication>
</windowsAuthentication>
</serviceCredentials>
屬性和項目
下列章節說明屬性、子元素和父元素。
Attributes
| Attribute | Description |
|---|---|
type |
指定此組態元素類型的字串。 |
子專案
| 元素 | Description |
|---|---|
| <客戶憑證> | 指定當用戶端憑證在頻外可用時所使用的憑證。 此元素同時指定客戶端憑證驗證設定。 此元素的類型 X509InitiatorCertificateServiceElement為 。 |
| <issuedTokenAuthentication> | 指定此服務目前發行的代幣。 此元素的類型 IssuedTokenServiceElement為 。 |
| <貴族> | 指定對等節點目前的憑證。 此元素的類型 PeerCredentialElement為 。 |
| <secureConversationAuthentication> | 指定安全對話所需的當前憑證。 此元素的類型 SecureConversationServiceElement為 。 |
| <服務憑證> | 指定服務用來識別自身的憑證。 此元素的類型 X509RecipientCertificateServiceElement為 。 |
| <用戶姓名認證> | 指定使用者名稱密碼驗證的設定。 此元素的類型 UserNameServiceElement為 。 |
| <windowsAuthentication> | 指定 Windows 憑證驗證的設定。 此元素的類型 WindowsServiceElement為 。 |
父項目
| 元素 | Description |
|---|---|
| <態度> | 指定一個行為元素。 |