SamlSecurityTokenHandler.CreateAuthenticationStatement Método

Definição

Cria uma instrução de autenticação SAML 1.1 com base nas informações de autenticação especificadas.

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 SamlSubject da instrução.

authInfo
AuthenticationInformation

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

tokenDescriptor
SecurityTokenDescriptor

Contém todas as outras informações usadas na emissão de token.

Retornos

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

Exceções

samlSubject é null.

- ou -

tokenDescriptor é null.

Aplica-se a