Lingua

SamlSecurityTokenHandler.CreateStatements Metodo

Definizione

Genera un'enumerazione di SamlStatements da un SecurityTokenDescriptor. Vengono generati solo SamlAttributeStatements e SamlAuthenticationStatements. Sovrascrivere questo metodo per personalizzare la creazione di istruzioni.

Chiamate in ordine (tutte virtuali): 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)

Parametri

tokenDescriptor
SecurityTokenDescriptor

SecurityTokenDescriptor da usare per compilare le istruzioni.

authenticationInformation
AuthenticationInformation

informazioni aggiuntive per la creazione di un oggetto SamlAuthenticationStatement.

Valori restituiti

Enumerazione di SamlStatement.

Eccezioni

se tokenDescriptor è Null.

Si applica a