Skip to main content

validateToken

@appfire/fuse-auth-coreDocs


@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.

Defined in

products/atlassian/atlassian.auth.ts:98