SamlSecurityTokenHandler.CreateAuthenticationStatement Metod

Definition

Skapar en SAML 1.1-autentiseringsinstrukation från den angivna autentiseringsinformationen.

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

Parametrar

samlSubject
SamlSubject

SamlSubject för -instruktionen.

authInfo
AuthenticationInformation

Från AuthenticationInformation vilken saml-autentiseringsinstrukationen ska genereras.

tokenDescriptor
SecurityTokenDescriptor

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

Returer

SAML-autentiseringsinstrukationen som skapades.

Undantag

samlSubject är null.

-eller-

tokenDescriptor är null.

Gäller för