共用方式為


<claimType>

Specifies a single optional or required claim for incoming security tokens.

<configuration>
  <system.identityModel>
    <identityConfiguration>
      <claimTypeRequired>\
        <claimType>

Syntax

<system.identityModel>  
  <identityConfiguration>  
    <claimTypeRequired>  
      <claimType type=URI optional=xs:boolean >  
      </claimType>  
    </claimTypeRequired>  
  </identityConfiguration>  
</system.identityModel>  

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
type The claim type. Typically a URI. Required.
optional A boolean value that specifies whether the claim type is optional. Optional.

Child Elements

None

Parent Elements

Element Description
<claimTypeRequired> Specifies the set of required claims for incoming security tokens.