Redigera

Dela via


SamlSecurityTokenHandler.ProcessStatement Method

Definition

Creates claims from a collection of SAML 1.1 statements and adds them to the specified subject.

protected:
 virtual void ProcessStatement(System::Collections::Generic::IList<System::IdentityModel::Tokens::SamlStatement ^> ^ statements, System::Security::Claims::ClaimsIdentity ^ subject, System::String ^ issuer);
protected virtual void ProcessStatement (System.Collections.Generic.IList<System.IdentityModel.Tokens.SamlStatement> statements, System.Security.Claims.ClaimsIdentity subject, string issuer);
abstract member ProcessStatement : System.Collections.Generic.IList<System.IdentityModel.Tokens.SamlStatement> * System.Security.Claims.ClaimsIdentity * string -> unit
override this.ProcessStatement : System.Collections.Generic.IList<System.IdentityModel.Tokens.SamlStatement> * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub ProcessStatement (statements As IList(Of SamlStatement), subject As ClaimsIdentity, issuer As String)

Parameters

statements
IList<SamlStatement>

The SAML statements from which the claims are created.

subject
ClaimsIdentity

The subject to which the claims are added.

issuer
String

The issuer.

Exceptions

statements is null.

Applies to