Saml2AuthenticationStatement Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Saml2AuthenticationStatement class.
Overloads
Saml2AuthenticationStatement(Saml2AuthenticationContext) |
Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and the current time as the authentication instant. |
Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime) |
Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and authentication time. |
Saml2AuthenticationStatement(Saml2AuthenticationContext)
Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and the current time as the authentication instant.
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)
Parameters
- authenticationContext
- Saml2AuthenticationContext
The authentication context of this statement.
Exceptions
authenticationContext
is null
.
Remarks
The AuthenticationInstant property is set to UtcNow.
Applies to
Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)
Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and authentication time.
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)
Parameters
- authenticationContext
- Saml2AuthenticationContext
The authentication context of this statement.
- authenticationInstant
- DateTime
The time of the authentication.
Exceptions
authenticationContext
is null
.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για