Saml2SecurityTokenHandler.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.
Sobrecargas
| Nome | Description |
|---|---|
| CreateStatements(SecurityTokenDescriptor) |
Cria um IEnumerable<T> de Saml2Statement ser incluído na asserção. |
| CreateStatements(SecurityTokenDescriptor, AuthenticationInformation) |
Cria um IEnumerable<T> de Saml2Statement ser incluído na asserção. |
CreateStatements(SecurityTokenDescriptor)
Cria um IEnumerable<T> de Saml2Statement ser incluído na asserção.
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)
Parâmetros
- tokenDescriptor
- SecurityTokenDescriptor
O SecurityTokenDescriptor que contém informações sobre como criar o Saml2Statement.
Retornos
Uma enumeração de Saml2Statements.
Exceções
se tokenDescriptor for nulo.
Comentários
Instruções não são necessárias em uma declaração SAML2. Esse método pode retornar uma coleção vazia.
Aplica-se a
CreateStatements(SecurityTokenDescriptor, AuthenticationInformation)
Cria um IEnumerable<T> de Saml2Statement ser incluído na asserção.
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)
Parâmetros
- tokenDescriptor
- SecurityTokenDescriptor
O SecurityTokenDescriptor que contém informações sobre como criar o Saml2Statement.
- authenticationInformation
- AuthenticationInformation
informações adicionais usadas ao criar um Saml2AuthenticationStatement.
Retornos
Uma enumeração de Saml2Statements.
Exceções
se tokenDescriptor for nulo.
Comentários
Instruções não são necessárias em uma declaração SAML2. Esse método pode retornar uma coleção vazia.