SamlSecurityTokenHandler.CreateAuthenticationStatement Metoda

Definicja

Tworzy instrukcję uwierzytelniania SAML 1.1 na podstawie określonych informacji uwierzytelniania.

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

Parametry

samlSubject
SamlSubject

SamlSubject instrukcji .

authInfo
AuthenticationInformation

Wartość AuthenticationInformation , z której ma być generowana instrukcja uwierzytelniania SAML.

tokenDescriptor
SecurityTokenDescriptor

Zawiera wszystkie inne informacje, które są używane w wystawianiu tokenów.

Zwraca

Utworzono instrukcję uwierzytelniania SAML.

Wyjątki

samlSubject to null.

-lub-

tokenDescriptor to null.

Dotyczy