Function: verify
▸ verify(token
, jwKey
, alg
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
token | string |
jwKey | JsonWebKey |
alg | AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm |
Returns
Promise
<boolean
>
Defined in
onekijs/packages/onekijs-framework/src/utils/crypt.ts:111