getPublicKey
@appfire/fuse-auth-core • Docs
@appfire/fuse-auth-core / getPublicKey
Function: getPublicKey()
getPublicKey(
token
):Promise
\<string
|undefined
>
Retrieves the public key for decoding an asymmetric JWT token.
Parameters
• token: string
The JWT token.
Returns
Promise
\<string
| undefined
>
A Promise that resolves to the public key string.