UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

8 lines (7 loc) 234 B
/** * Service for handling auth tokens */ import { JwtTokenBase } from '@bitblit/ratchet/common'; export interface WebTokenManipulator<T extends JwtTokenBase> { extractTokenFromAuthorizationHeader(header: string): Promise<T>; }