SamlSecurityTokenHandler.ProcessAttributeStatement(SamlAttributeStatement, ClaimsIdentity, String) Método

Definição

Cria declarações com base em uma instrução de atributo de SAML 1.1 e as adiciona à entidade especificada.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)

Parâmetros

samlStatement
SamlAttributeStatement

O SamlAttributeStatement do qual as declarações são criadas.The SamlAttributeStatement from which the claims are created.

subject
ClaimsIdentity

A entidade para a qual as declarações são adicionadas.The subject to which the claims are added.

issuer
String

O emissor.The issuer.

Exceções

samlStatement é null.samlStatement is null.

- ou --or- subject é null.subject is null.

Comentários

As declarações criadas são adicionadas ao assunto.The created claims are added to the subject.

Aplica-se a