Langue

SamlSecurityTokenHandler.CreateAuthenticationStatement Méthode

Définition

Crée un SamlAuthenticationStatement pour chaque AuthenticationInformation trouvé dans AuthenticationInformation. Remplacez cette méthode pour fournir une implémentation personnalisée.

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

Paramètres

subject
SamlSubject

SamlSubject de l’instruction.

authenticationInformation
AuthenticationInformation

Contient toutes les autres informations utilisées dans l’émission de jeton.

Retours

SamlAuthenticationStatement

Exceptions

si subject la valeur est null.

si l’assertion a un ou plusieurs AuthenticationStatement, et l’un d’AuthenticationMethod et authenticationInstant a la valeur Null.

S’applique à