UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

14 lines (13 loc) 541 B
import { WebTokenManipulator } from './web-token-manipulator'; import { JwtRatchetLike, JwtTokenBase } from '@bitblit/ratchet/common'; /** * Service for handling jwt tokens */ export declare class JwtRatchetLocalWebTokenManipulator<T extends JwtTokenBase> implements WebTokenManipulator<T> { private _jwtRatchet; private _issuer; constructor(_jwtRatchet: JwtRatchetLike, _issuer: string); get jwtRatchet(): JwtRatchetLike; get issuer(): string; extractTokenFromAuthorizationHeader<T>(header: string): Promise<T>; }