SamlSecurityTokenHandler.CreateStatements Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Génère une énumération de SamlStatements à partir d’un SecurityTokenDescriptor. Seuls Les attributs SamlAttributeStatements et SamlAuthenticationStatements sont générés. Remplacez cette méthode pour personnaliser la création d’instructions.
Appels dans l’ordre (tous sont virtuels) : 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)
Paramètres
- tokenDescriptor
- SecurityTokenDescriptor
SecurityTokenDescriptor à utiliser pour générer les instructions.
- authenticationInformation
- AuthenticationInformation
informations supplémentaires pour la création d’un SamlAuthenticationStatement.
Retours
Énumération de SamlStatement.
Exceptions
si tokenDescriptor la valeur est null.