Język

SamlSecurityTokenHandler.CreateStatements Metoda

Definicja

Generuje wyliczenie samlStatements z klasy SecurityTokenDescriptor. Generowane są tylko stany SamlAttributeStatements i SamlAuthenticationStatements. Zastąp tę metodę, aby dostosować tworzenie instrukcji.

Wywołania w kolejności (wszystkie są wirtualne): 1. CreateSamlSubject 2. CreateAttributeStatements 3. CreateAuthenticationStatements 4. CreateAuthorizationDecisionStatement

protected virtual System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlStatement> CreateStatements(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor, Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation authenticationInformation);
abstract member CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation -> System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlStatement>
override this.CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation -> System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlStatement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor, authenticationInformation As AuthenticationInformation) As ICollection(Of SamlStatement)

Parametry

tokenDescriptor
SecurityTokenDescriptor

Klasy SecurityTokenDescriptor używane do tworzenia instrukcji.

authenticationInformation
AuthenticationInformation

dodatkowe informacje dotyczące tworzenia obiektu SamlAuthenticationStatement.

Zwraca

Wyliczenie samlStatement.

Wyjątki

jeśli tokenDescriptor ma wartość null.

Dotyczy