Constructors
constructor
-
-
Parameters
Methods
addAudience
-
Parameters
addPermission
-
Parameters
getAlgorithm
-
Returns string
getAudience
-
Returns string[]
getExpiresInSeconds
- getExpiresInSeconds(): number
-
Returns number
getHeader
-
Returns {}
getIssuer
-
Returns string
getLeeway
-
Returns number
getNonceAlgorithm
- getNonceAlgorithm(): string
-
Returns string
getPermissions
- getPermissions(): string[]
-
Returns string[]
getSubject
-
Returns string
isIgnoreExpiration
- isIgnoreExpiration(): boolean
-
Returns boolean
isNoTimestamp
-
Returns boolean
setAlgorithm
-
Parameters
setAudience
-
Parameters
setExpiresInMinutes
- setExpiresInMinutes(expiresInMinutes: number): JWTOptions
-
Parameters
setExpiresInSeconds
- setExpiresInSeconds(expiresInSeconds: number): JWTOptions
-
Parameters
setHeader
-
Parameters
setIgnoreExpiration
- setIgnoreExpiration(ignoreExpiration: boolean): JWTOptions
-
Parameters
-
ignoreExpiration: boolean
setIssuer
-
Parameters
setLeeway
-
Parameters
setNoTimestamp
-
Parameters
setNonceAlgorithm
- setNonceAlgorithm(nonceAlgorithm: string): JWTOptions
-
Parameters
setPermissions
-
Parameters
setSubject
-
Parameters
toJson
-
Returns {}