Share via


SamlSecurityTokenHandler.CreateAuthenticationStatement Método

Definición

Crea una instrucción de autenticación SAML 1.1 a partir de la información de autenticación especificada.

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

Parámetros

samlSubject
SamlSubject

SamlSubject de la instrucción.

authInfo
AuthenticationInformation

AuthenticationInformation desde la que se va a generar la instrucción de autenticación de SAML.

tokenDescriptor
SecurityTokenDescriptor

Contiene el resto de información que se utiliza en la emisión de tokens.

Devoluciones

La instrucción de autenticación SAML creada.

Excepciones

samlSubject es null.

O bien

tokenDescriptor es null.

Se aplica a