Condividi tramite


JwtPayload.Nbf Property

Definition

Caution

int? JwtPayload.Nbf is deprecated and will be removed in a future release. Use long? JwtPayload.NotBefore instead. For more information, see https://aka.ms/IdentityModel/7-breaking-changes

Gets the 'value' of the 'expiration' claim { nbf, 'value' }.

[System.Obsolete("`int? JwtPayload.Nbf` is deprecated and will be removed in a future release. Use `long? JwtPayload.NotBefore` instead. For more information, see https://aka.ms/IdentityModel/7-breaking-changes")]
public int? Nbf { get; }
[<System.Obsolete("`int? JwtPayload.Nbf` is deprecated and will be removed in a future release. Use `long? JwtPayload.NotBefore` instead. For more information, see https://aka.ms/IdentityModel/7-breaking-changes")>]
member this.Nbf : Nullable<int>
Public ReadOnly Property Nbf As Nullable(Of Integer)

Property Value

Attributes

Remarks

If the 'notbefore' claim is not found OR could not be converted to Int32, null is returned.

Applies to