UNPKG

@antelopejs/auth-jwt

Version:

Authentication and authorization module that implements the Auth interface of antelopejs with JWT

7 lines (6 loc) 304 B
import { VerifyOptions } from 'jsonwebtoken'; import { SignOptions } from '@ajs.local/auth/beta'; export declare namespace internal { const Verify: (data?: string, options?: VerifyOptions) => Promise<any>; const Sign: (data: string | Buffer | object, options?: SignOptions) => Promise<string>; }