SamlSecurityTokenHandler.CreateAuthenticationStatement Método

Definición

Crea un samlAuthenticationStatement para cada authenticationInformation que se encuentra en AuthenticationInformation. Invalide este método para proporcionar una implementación 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

SamlSubject de la instrucción .

authenticationInformation
AuthenticationInformation

Contiene la otra información que se usa en la emisión de tokens.

Devoluciones

SamlAuthenticationStatement

Excepciones

si subject es null.

Si la aserción tiene una o más AuthenticationStatement, y una de AuthenticationMethod y authenticationInstant es NULL.

Se aplica a