Tests if the token contains the required permissions.
The JWT to test.
The permissions the user has.
0.1.0
The arguments needed to test the token.
The permissions required to access the context.
0.1.0
True if the token contains the required permissions, false otherwise.
0.1.0
Transforms the JWT by adding the permissions.
The JWT to transform.
The arguments needed to transform the JWT.
The permissions to add to the JWT.
0.1.0
The transformed JWT.
0.1.0
Generated using TypeDoc
Property map for a JWT containing permissions.
Type Param
The type of the arguments needed to test the token.
Type Param
The type of the arguments needed to create the token.
Type Param
The type of the token's data.
Since
0.1.0