Static
signThis function signs a token
The data to sign
Optional
exp: stringThe expiration date of the token
The signed token
Static
signThis function signs the token with a custom secret
The data to sign
The secret to sign the token with
Optional
exp: stringThe expiration date of the token
The signed token
Static
verifyThis function verifies a token
The token to verify
The path/procedure of the request to verify the token for
The decoded token
Static
verifyThis function verifies a token with custom jwt secret
The token to verify
The decoded token
AuthService class