Lingua

SamlSecurityTokenHandler.CreateAuthenticationStatement Metodo

Definizione

Crea un samlAuthenticationStatement per ogni AuthenticationInformation presente in AuthenticationInformation. Eseguire l'override di questo metodo per fornire un'implementazione personalizzata.

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

Parametri

subject
SamlSubject

SamlSubject dell'istruzione.

authenticationInformation
AuthenticationInformation

Contiene tutte le altre informazioni usate nel rilascio di token.

Valori restituiti

SamlAuthenticationStatement

Eccezioni

se subject è Null.

se l'asserzione ha uno o più authenticationStatement e uno di AuthenticationMethod e authenticationInstant è Null.

Si applica a