SamlSecurityTokenHandler.CreateAuthenticationStatement Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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.