Język

SamlSecurityTokenHandler.CreateAuthenticationStatement Metoda

Definicja

Tworzy element SamlAuthenticationStatement dla każdego elementu AuthenticationInformation znalezionego w uwierzytelnianieInformation. Zastąpi tę metodę, aby zapewnić implementację niestandardową.

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

Parametry

subject
SamlSubject

SamlSubject instrukcji.

authenticationInformation
AuthenticationInformation

Zawiera wszystkie inne informacje używane w wystawianiu tokenów.

Zwraca

SamlAuthenticationStatement

Wyjątki

jeśli subject ma wartość null.

Jeśli asercji ma co najmniej jedną wartość AuthenticationStatement, a jedna z wartości AuthenticationMethod i authenticationInstant ma wartość null.

Dotyczy