JwtSecurityTokenHandler.ValidateLifetime Method
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.
Validates the lifetime of a JwtSecurityToken.
protected virtual void ValidateLifetime (DateTime? notBefore, DateTime? expires, System.IdentityModel.Tokens.Jwt.JwtSecurityToken jwtToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ValidateLifetime : Nullable<DateTime> * Nullable<DateTime> * System.IdentityModel.Tokens.Jwt.JwtSecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
override this.ValidateLifetime : Nullable<DateTime> * Nullable<DateTime> * System.IdentityModel.Tokens.Jwt.JwtSecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
Protected Overridable Sub ValidateLifetime (notBefore As Nullable(Of DateTime), expires As Nullable(Of DateTime), jwtToken As JwtSecurityToken, validationParameters As TokenValidationParameters)
Parameters
- jwtToken
- JwtSecurityToken
The JwtSecurityToken being validated.
- validationParameters
- TokenValidationParameters
TokenValidationParameters required for validation.
Remarks
ValidateLifetime(Nullable<DateTime>, Nullable<DateTime>, SecurityToken, TokenValidationParameters) for additional details.
Applies to
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示