SamlSecurityTokenHandler.CreateStatements Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Gera uma enumeração de SamlStatements de um SecurityTokenDescriptor. Somente SamlAttributeStatements e SamlAuthenticationStatements são gerados. Substitua esse método para personalizar a criação de instruções.
Chamadas em ordem (todas são virtuais): 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)
Parâmetros
- tokenDescriptor
- SecurityTokenDescriptor
O SecurityTokenDescriptor a ser usado para criar as instruções.
- authenticationInformation
- AuthenticationInformation
informações adicionais para criar um SamlAuthenticationStatement.
Retornos
Uma enumeração de SamlStatement.
Exceções
se tokenDescriptor for nulo.