validateToken
@appfire/fuse-auth-core • Docs
@appfire/fuse-auth-core / validateToken
Function: validateToken()
validateToken(
token
,baseUrl
,sharedSecret
,request
):boolean
Validates a JWT token.
Parameters
• token: string
The JWT token to validate.
• baseUrl: string
The base URL of the Atlassian application.
• sharedSecret: string
The shared secret key.
• request: Request
The HTTP request.
Returns
boolean
A boolean indicating whether the token is valid or not.