-
-
Notifications
You must be signed in to change notification settings - Fork 35
Expose decoded tokens #33
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Is your feature request related to a problem? Please describe.
As steam-session consumer I would like to know when to call
renewRefreshToken()andrefreshAccessToken().Describe the solution you'd like
Expose decoded
refreshTokenandaccessTokenas properties or gettersDescribe alternatives you've considered
Decode JWT in user application. This approach is likely to introduce overkill libraries to user code. Since
steam-sessionis already capable of decoding tokens (and does so), exposing the data seems like a natural solution.