jwtToken
@appfire/fuse-auth-core • Docs
@appfire/fuse-auth-core / jwtToken
Function: jwtToken()
jwtToken(
appKey
,apiPath
,method
,sharedSecret
):string
Generates a JWT token.
Parameters
• appKey: string
The app key.
• apiPath: string
The API path.
• method: string
The HTTP method.
• sharedSecret: string
The shared secret key.
Returns
string
The generated JWT token.