ערוך

שתף באמצעות


Saml2SecurityTokenHandler.ProcessAttributeStatement Method

Definition

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

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

Parameters

statement
Saml2AttributeStatement

The Saml2AttributeStatement from which the claims are created.

subject
ClaimsIdentity

The subject to which the claims are added.

issuer
String

The issuer.

Exceptions

statement is null.

-or-

subject is null.

Remarks

The created claims are added to the subject.

Applies to