Sdílet prostřednictvím


Saml2SecurityTokenHandler.ProcessAttributeStatement Metoda

Definice

Vytvoří deklarace identity z příkazu atributu SAML 2.0 a přidá je k zadanému předmětu.

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)

Parametry

statement
Saml2AttributeStatement

Hodnota Saml2AttributeStatement , ze které se vytvářejí deklarace identity.

subject
ClaimsIdentity

Předmět, ke kterému se přidají deklarace identity.

issuer
String

Vystavitel.

Výjimky

statement je null.

-nebo-

subject je null.

Poznámky

Vytvořené deklarace identity se přidají do předmětu.

Platí pro