View Source Lightning.Tokens (Lightning v2.10.4)
Token generation, verification and validation.
Summary
Functions
Get the subject of a token.
Currently support RunTokens and PersonalAccessTokens,
which return Lightning.Run
s and Lightning.Accounts.User
s respectively.
Verify a token and return the claims if successful.
Functions
Get the subject of a token.
Currently support RunTokens and PersonalAccessTokens,
which return Lightning.Run
s and Lightning.Accounts.User
s respectively.
Verify a token and return the claims if successful.
This serves as a central point to verify and validate different types of tokens.