Saml2SecurityTokenHandler.ProcessStatement Method

Definition

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

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

Parameters

statements
Collection<Saml2Statement>

A collection of Saml2Statement from which the claims are created.

subject
ClaimsIdentity

The subject to which the claims are added.

issuer
String

The issuer.

Exceptions

subject is null.

Applies to