@bitblit/ratchet-epsilon-common
Version:
Tiny adapter to simplify building API gateway Lambda APIS
12 lines (11 loc) • 586 B
TypeScript
import { WebTokenManipulator } from './web-token-manipulator.js';
import { JwtTokenBase } from '@bitblit/ratchet-common/jwt/jwt-token-base';
import { JwtRatchetLike } from '@bitblit/ratchet-node-only/jwt/jwt-ratchet-like';
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>;
}