Språk

SamlSecurityTokenHandler.CreateAuthenticationStatement Metod

Definition

Skapar en SamlAuthenticationStatement för varje AuthenticationInformation som finns i AuthenticationInformation. Åsidosätt den här metoden för att tillhandahålla en anpassad implementering.

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

Parametrar

subject
SamlSubject

SamlSubject för instruktionen.

authenticationInformation
AuthenticationInformation

Innehåller all annan information som används i tokenutfärding.

Returer

SamlAuthenticationStatement

Undantag

om subject är null.

if Assertion has one or more AuthenticationStatement, and one of AuthenticationMethod and authenticationInstant is null.

Gäller för