UNPKG

universal-auth-sdk

Version:

A Universal Authentication SDK for React supporting OAuth, OpenID, SAML, and Kerberos.

3 lines (2 loc) 117 B
import jwt from "jsonwebtoken"; export declare const decodeToken: (token: string) => string | jwt.JwtPayload | null;