共用方式為


Saml2SecurityTokenHandler.ProcessAttributeStatement Method

Definition

Creates claims from a Saml2AttributeStatement.

protected virtual void ProcessAttributeStatement (Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement statement, System.Security.Claims.ClaimsIdentity identity, string issuer);
abstract member ProcessAttributeStatement : Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement * System.Security.Claims.ClaimsIdentity * string -> unit
override this.ProcessAttributeStatement : Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub ProcessAttributeStatement (statement As Saml2AttributeStatement, identity As ClaimsIdentity, issuer As String)

Parameters

identity
ClaimsIdentity

The identity that will contain a Claim for each Values.

issuer
String

The issuer for each Claim.

Exceptions

If identity is null.

if multiple 'Actor' claims are found.

Applies to