Skip to main content

validateAsymmetricToken

@appfire/fuse-auth-coreDocs


@appfire/fuse-auth-core / validateAsymmetricToken

Function: validateAsymmetricToken()

validateAsymmetricToken(token, rsa_public_key): boolean

Validates an asymmetric JWT token.

Parameters

token: string

The JWT token to validate.

rsa_public_key: undefined | string

The public key used for decoding the token.

Returns

boolean

A boolean indicating whether the token is valid or not.

Defined in

products/atlassian/atlassian.auth.ts:213