SamlSecurityTokenHandler.CreateAuthenticationStatement Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria um SamlAuthenticationStatement para cada AuthenticationInformation encontrado em AuthenticationInformation. Substitua esse 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 SamlSubject da Instrução.
- authenticationInformation
- AuthenticationInformation
Contém todas as outras informações usadas na emissão de token.
Retornos
Samlauthenticationstatement
Exceções
se subject for nulo.
se Assertion tiver um ou mais AuthenticationStatement e um de AuthenticationMethod e authenticationInstant for nulo.