SamlSecurityTokenHandler.CreateAuthenticationStatement Méthode

Définition

Crée une instruction d’authentification SAML 1.1 à partir des informations d’authentification spécifiées.

protected:
 virtual System::IdentityModel::Tokens::SamlAuthenticationStatement ^ CreateAuthenticationStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::Security::Claims::AuthenticationInformation ^ authInfo, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.SamlAuthenticationStatement CreateAuthenticationStatement (System.IdentityModel.Tokens.SamlSubject samlSubject, System.Security.Claims.AuthenticationInformation authInfo, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAuthenticationStatement
override this.CreateAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAuthenticationStatement
Protected Overridable Function CreateAuthenticationStatement (samlSubject As SamlSubject, authInfo As AuthenticationInformation, tokenDescriptor As SecurityTokenDescriptor) As SamlAuthenticationStatement

Paramètres

samlSubject
SamlSubject

SamlSubject de l'instruction.

authInfo
AuthenticationInformation

AuthenticationInformation à partir duquel générer l'instruction d'authentification SAML.

tokenDescriptor
SecurityTokenDescriptor

Contient toutes les autres informations qui sont utilisées pour l'émission de jeton.

Retours

Instruction d'authentification SAML qui a été créée.

Exceptions

samlSubject a la valeur null.

-ou-

tokenDescriptor a la valeur null.

S’applique à