Partager via


SamlSecurityTokenHandler.ProcessStatements Method

Definition

Processes all statements to generate claims.

protected virtual System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity> ProcessStatements (Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken samlToken, string issuer, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ProcessStatements : Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken * string * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> seq<System.Security.Claims.ClaimsIdentity>
override this.ProcessStatements : Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken * string * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> seq<System.Security.Claims.ClaimsIdentity>
Protected Overridable Function ProcessStatements (samlToken As SamlSecurityToken, issuer As String, validationParameters As TokenValidationParameters) As IEnumerable(Of ClaimsIdentity)

Parameters

samlToken
SamlSecurityToken

A SamlSecurityToken that will be used to create the claims.

issuer
String

The issuer.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Returns

A IEnumerable<T> containing the claims from the SamlSecurityToken.

Exceptions

Applies to