Sprache

SamlSecurityTokenHandler.CreateStatements Methode

Definition

Generiert eine Aufzählung von SamlStatements aus einem SecurityTokenDescriptor. Es werden nur SamlAttributeStatements und SamlAuthenticationStatements generiert. Überschreiben Sie diese Methode, um die Erstellung von Anweisungen anzupassen.

Aufrufe in der Reihenfolge (alle sind virtuell): 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)

Parameter

tokenDescriptor
SecurityTokenDescriptor

Der SecurityTokenDescriptor, der zum Erstellen der Anweisungen verwendet werden soll.

authenticationInformation
AuthenticationInformation

zusätzliche Informationen zum Erstellen eines SamlAuthenticationStatement.

Gibt zurück

Eine Aufzählung von SamlStatement.

Ausnahmen

wenn tokenDescriptor null ist.

Gilt für: