SamlSecurityTokenHandler.CreateAuthenticationStatement Método

Definição

Cria uma instrução de autenticação SAML 1.1 a partir da informação de autenticação especificada.

protected:
 virtual System::IdentityModel::Tokens::SamlAuthenticationStatement ^ CreateAuthenticationStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::Security::Claims::AuthenticationInformation ^ authInfo, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.SamlAuthenticationStatement CreateAuthenticationStatement(System.IdentityModel.Tokens.SamlSubject samlSubject, System.Security.Claims.AuthenticationInformation authInfo, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAuthenticationStatement
override this.CreateAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAuthenticationStatement
Protected Overridable Function CreateAuthenticationStatement (samlSubject As SamlSubject, authInfo As AuthenticationInformation, tokenDescriptor As SecurityTokenDescriptor) As SamlAuthenticationStatement

Parâmetros

samlSubject
SamlSubject

O Sam Sujeito da declaração.

authInfo
AuthenticationInformation

A AuthenticationInformation partir da qual gerar a instrução de autenticação SAML.

tokenDescriptor
SecurityTokenDescriptor

Contém toda a outra informação utilizada na emissão de tokens.

Devoluções

A instrução de autenticação SAML que foi criada.

Exceções

samlSubject é null.

-ou-

tokenDescriptor é null.

Aplica-se a