共用方式為


Saml2SecurityTokenHandler.ProcessAuthenticationStatement Method

Definition

Creates claims from a Saml2AuthenticationStatement.

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

Parameters

identity
ClaimsIdentity

The identity that will contain the Authentication Claims.

issuer
String

The issuer for each Claim.

Exceptions

If statement is null.

If AuthenticationContext.DeclarationReference is not null. Override if this is required.

Applies to