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

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

tokenDescriptor
SecurityTokenDescriptor

Contiene la otra información que se usa en la emisión de tokens.

Devoluciones

Instrucción de autenticación SAML que se creó.

Excepciones

samlSubject es null.

O bien

tokenDescriptor es null.

Se aplica a