- Preparing search index...
- The search index is not available
docs.hg.fi
Methods
Static
calculateExpirationInDays
- calculateExpirationInDays(days: number): number
-
Returns number
Static
calculateExpirationInMinutes
- calculateExpirationInMinutes(minutes: number): number
-
Returns number
Static
createAudPayloadExpiringInDays
- createAudPayloadExpiringInDays(aud: string, days: number): JwtPayload
-
Static
createAudPayloadExpiringInMinutes
- createAudPayloadExpiringInMinutes(aud: string, minutes: number): JwtPayload
-
Parameters
-
aud: string
-
minutes: number
Static
createSubPayloadExpiringInDays
- createSubPayloadExpiringInDays(sub: string, days: number): JwtPayload
-
Static
createSubPayloadExpiringInMinutes
- createSubPayloadExpiringInMinutes(sub: string, minutes: number): JwtPayload
-
Parameters
-
sub: string
-
minutes: number