Skip to content

basalt / auth/src / verifyJwt

Function: verifyJwt() ​

> verifyJwt(token, secret): JwtClaims

Defined in: auth/src/jwt.ts:60

Verifies signature and expiry; returns the claims.

Parameters ​

token ​

string

secret ​

string

Returns ​

JwtClaims

Released under the MIT License.