toSourcedToken
Function: toSourcedToken()
toSourcedToken(
token):SourcedToken
Defined in: packages/oidc/src/sources/source.ts:35
Read the expiration of an external token, without verifying it: the callee does
Parameters
token
string
the JWT
Returns
the token with its expiration
Throws
OIDCTokenSourceError when the token is not a JWT with an exp