Skip to main content

verify

verify(token: string,jwKey: JsonWebKey,alg: AesKeyAlgorithm | EcKeyImportParams | AlgorithmIdentifier | HmacImportParams | RsaHashedImportParams): Promise<boolean>

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
algAesKeyAlgorithm | EcKeyImportParams | AlgorithmIdentifier | HmacImportParams | RsaHashedImportParams
jwKeyJsonWebKey
tokenstring