Saml2SecurityTokenHandler.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.
Surcharges
| Nom | Description |
|---|---|
| CreateStatements(SecurityTokenDescriptor) |
Crée un IEnumerable<T> élément Saml2Statement à inclure dans l’assertion. |
| CreateStatements(SecurityTokenDescriptor, AuthenticationInformation) |
Crée un IEnumerable<T> élément Saml2Statement à inclure dans l’assertion. |
CreateStatements(SecurityTokenDescriptor)
Crée un IEnumerable<T> élément Saml2Statement à inclure dans l’assertion.
protected virtual System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement> CreateStatements(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
override this.CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor) As IEnumerable(Of Saml2Statement)
Paramètres
- tokenDescriptor
- SecurityTokenDescriptor
Qui SecurityTokenDescriptor contient des informations sur la création du Saml2Statement.
Retours
Énumération de Saml2Statements.
Exceptions
si tokenDescriptor la valeur est null.
Remarques
Les instructions ne sont pas requises dans une assertion SAML2. Cette méthode peut retourner une collection vide.
S’applique à
CreateStatements(SecurityTokenDescriptor, AuthenticationInformation)
Crée un IEnumerable<T> élément Saml2Statement à inclure dans l’assertion.
protected virtual System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement> CreateStatements(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor, Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation authenticationInformation);
abstract member CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
override this.CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor, authenticationInformation As AuthenticationInformation) As IEnumerable(Of Saml2Statement)
Paramètres
- tokenDescriptor
- SecurityTokenDescriptor
Qui SecurityTokenDescriptor contient des informations sur la création du Saml2Statement.
- authenticationInformation
- AuthenticationInformation
informations supplémentaires utilisées lors de la création d’un Saml2AuthenticationStatement.
Retours
Énumération de Saml2Statements.
Exceptions
si tokenDescriptor la valeur est null.
Remarques
Les instructions ne sont pas requises dans une assertion SAML2. Cette méthode peut retourner une collection vide.