Idioma

SamlSecurityTokenHandler.CreateAuthenticationStatement Método

Definição

Cria uma Declaração SamlAuthenticationStatement para cada AuthenticationInformation encontrada em AuthenticationInformation. Substitua este método para fornecer uma implementação personalizada.

protected virtual Microsoft.IdentityModel.Tokens.Saml.SamlAuthenticationStatement CreateAuthenticationStatement(Microsoft.IdentityModel.Tokens.Saml.SamlSubject subject, Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation authenticationInformation);
abstract member CreateAuthenticationStatement : Microsoft.IdentityModel.Tokens.Saml.SamlSubject * Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation -> Microsoft.IdentityModel.Tokens.Saml.SamlAuthenticationStatement
override this.CreateAuthenticationStatement : Microsoft.IdentityModel.Tokens.Saml.SamlSubject * Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation -> Microsoft.IdentityModel.Tokens.Saml.SamlAuthenticationStatement
Protected Overridable Function CreateAuthenticationStatement (subject As SamlSubject, authenticationInformation As AuthenticationInformation) As SamlAuthenticationStatement

Parâmetros

subject
SamlSubject

O SamlSujeito da Declaração.

authenticationInformation
AuthenticationInformation

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

Devoluções

Declaração de Autenticação Saml

Exceções

se subject for nulo.

se a Assertion tiver uma ou mais AuthenticationStatement, e uma de AuthenticationMethod e authenticationInstant for nula.

Aplica-se a