Język

Saml2SecurityTokenHandler.ProcessAttributeStatement Metoda

Definicja

Tworzy oświadczenia na podstawie elementu 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)

Parametry

identity
ClaimsIdentity

Tożsamość, która będzie zawierać Claim wartość dla każdego Valueselementu .

issuer
String

Wystawca dla każdego Claimelementu .

Wyjątki

Jeśli identity wartość ma wartość null.

jeśli zostanie znalezionych wiele oświadczeń "Aktor".

Dotyczy