<issuerChannelBehaviors> 元素

包含与指定的服务令牌服务通信时要使用的 Windows Communication Foundation (WCF) 客户端终结点行为(在配置中进行定义)的集合。所定义的行为不能包含任何 <clientCredentials> 元素。

<system.serviceModel>
  <behaviors>
    <endpointBehaviors>
      <endpointBehaviors> 的 <behavior>
        <clientCredentials>
          <issuedToken>
            <issuerChannelBehaviors> 元素

<issuerChannelBehaviors>
      <add behaviorConfiguraton="string"
                issuerAddress="string" />
</issuerChannelBehaviors>

属性和元素

属性

无。

子元素

元素 说明

<issuerChannelBehaviors> 的 <add>

向集合中添加行为。

父元素

元素 说明

<issuedToken>

指定用于向服务验证客户端身份的自定义令牌。

备注

当必须使用任何行为(包含 <clientCredentials> 元素的行为除外)与某个服务进行通信时,应使用此元素。例如,在必须包含 <dataContractSerializer> 行为元素的情况下。

另请参见

参考

IssuerChannelBehaviors
IssuedTokenClientBehaviorsElement
IssuedTokenClientBehaviorsElementCollection
IssuerChannelBehaviors

其他资源

Specifying Service Identity
Security Behaviors in Windows Communication Foundation
Federation and SAML
Securing Services and Clients
Securing Clients
How To: Create a Federated Client
How To: Configure a Local Issuer
Federation and Issued Tokens