Saml2AuthenticationStatement Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da Saml2AuthenticationStatement classe.
Sobrecargas
| Name | Description |
|---|---|
| Saml2AuthenticationStatement(Saml2AuthenticationContext) |
Inicializa uma nova instância da Saml2AuthenticationStatement classe com o contexto de autenticação especificado e o tempo atual como instante de autenticação. |
| Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime) |
Inicializa uma nova instância da Saml2AuthenticationStatement classe com o contexto de autenticação especificado e o tempo de autenticação. |
Saml2AuthenticationStatement(Saml2AuthenticationContext)
Inicializa uma nova instância da Saml2AuthenticationStatement classe com o contexto de autenticação especificado e o tempo atual como instante de autenticação.
public:
Saml2AuthenticationStatement(System::IdentityModel::Tokens::Saml2AuthenticationContext ^ authenticationContext);
public Saml2AuthenticationStatement(System.IdentityModel.Tokens.Saml2AuthenticationContext authenticationContext);
new System.IdentityModel.Tokens.Saml2AuthenticationStatement : System.IdentityModel.Tokens.Saml2AuthenticationContext -> System.IdentityModel.Tokens.Saml2AuthenticationStatement
Public Sub New (authenticationContext As Saml2AuthenticationContext)
Parâmetros
- authenticationContext
- Saml2AuthenticationContext
O contexto de autenticação desta afirmação.
Exceções
authenticationContext é null.
Observações
A propriedade AuthenticationInstant está definida como UtcNow.
Aplica-se a
Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)
Inicializa uma nova instância da Saml2AuthenticationStatement classe com o contexto de autenticação especificado e o tempo de autenticação.
public:
Saml2AuthenticationStatement(System::IdentityModel::Tokens::Saml2AuthenticationContext ^ authenticationContext, DateTime authenticationInstant);
public Saml2AuthenticationStatement(System.IdentityModel.Tokens.Saml2AuthenticationContext authenticationContext, DateTime authenticationInstant);
new System.IdentityModel.Tokens.Saml2AuthenticationStatement : System.IdentityModel.Tokens.Saml2AuthenticationContext * DateTime -> System.IdentityModel.Tokens.Saml2AuthenticationStatement
Public Sub New (authenticationContext As Saml2AuthenticationContext, authenticationInstant As DateTime)
Parâmetros
- authenticationContext
- Saml2AuthenticationContext
O contexto de autenticação desta afirmação.
- authenticationInstant
- DateTime
O momento da autenticação.
Exceções
authenticationContext é null.