rmoods_backend
0.1.0
Module jwt
Structs
Functions
In rmoods_backend::auth
Module
rmoods_backend
::
auth
::
jwt
Copy item path
source
·
[
−
]
Structs
§
Claims
Functions
§
create_jwt
Create a new JWT based on the secret defined in the environment.
decode_jwt
Decode given JWT, verifing it at the same time. Return the decoded token data.