TokenDecoder based on jsonwebtoken package to be used with JWT Token. It check expiration dates from both server response and JWT exp claim, and supports decoding of the JWT token.
exp
It should be given to Auth constructor through AuthOptions.accessTokenDecoder.
Offset in millisecond to consider the token as expired. use NaN to disable expiration from token decoding
Generated using TypeDoc
TokenDecoder based on jsonwebtoken package to be used with JWT Token. It check expiration dates from both server response and JWT
exp
claim, and supports decoding of the JWT token.It should be given to Auth constructor through AuthOptions.accessTokenDecoder.