Redigera

Dela via


SamlSecurityTokenHandler.ProcessAttributeStatement Method

Definition

Creates claims from a SAML 1.1 attribute statement and adds them to the specified subject.

protected:
 virtual void ProcessAttributeStatement(System::IdentityModel::Tokens::SamlAttributeStatement ^ samlStatement, System::Security::Claims::ClaimsIdentity ^ subject, System::String ^ issuer);
protected virtual void ProcessAttributeStatement (System.IdentityModel.Tokens.SamlAttributeStatement samlStatement, System.Security.Claims.ClaimsIdentity subject, string issuer);
abstract member ProcessAttributeStatement : System.IdentityModel.Tokens.SamlAttributeStatement * System.Security.Claims.ClaimsIdentity * string -> unit
override this.ProcessAttributeStatement : System.IdentityModel.Tokens.SamlAttributeStatement * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub ProcessAttributeStatement (samlStatement As SamlAttributeStatement, subject As ClaimsIdentity, issuer As String)

Parameters

samlStatement
SamlAttributeStatement

The SamlAttributeStatement from which the claims are created.

subject
ClaimsIdentity

The subject to which the claims are added.

issuer
String

The issuer.

Exceptions

samlStatement is null.

-or-

subject is null.

Remarks

The created claims are added to the subject.

Applies to