SamlSecurityTokenHandler.CreateAuthenticationStatement Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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.