SamlSecurityTokenHandler.ProcessStatements Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
if the statement is not a SamlSubjectStatement.