JwtPayload.Expiration Property
Gets the ‘value’ of the expiration claim from JSON in the form of { exp, 'value' }.
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public ReadOnly Property Expiration As Nullable(Of Integer)
public Nullable<int> Expiration { get; }
public:
property Nullable<int> Expiration {
Nullable<int> get ();
}
member Expiration : Nullable<int> with get
function get Expiration () : Nullable<int>
Property Value
Type: System.Nullable<Int32>
Returns Int32.
Remarks
If the expiration claim is not found or could not be converted to Int32, null is returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.