UNPKG

biketag-admin

Version:

<h1 align=center>BikeTag-Admin</h1> <div align="center"> <img alt="biketag-admin logo" src="https://raw.githubusercontent.com/keneucker/biketag-website/production/public/img/Tag-Logo-Stacked-V2-medium.png" height="auto" width="200" style="border-radius:25

26 lines (25 loc) 817 B
import { HttpStatusCode } from '../common/constants'; declare const tokenHandler: (event: any) => Promise<{ statusCode: HttpStatusCode; headers: { Accept: string; 'Access-Control-Allow-Headers': string; 'Content-Type': string; 'Access-Control-Allow-Methods': string; 'Access-Control-Allow-Origin': string; 'Access-Control-Max-Age': string; }; body?: undefined; } | { headers: { Accept: string; 'Access-Control-Allow-Headers': string; 'Content-Type': string; 'Access-Control-Allow-Methods': string; 'Access-Control-Allow-Origin': string; 'Access-Control-Max-Age': string; }; body: string; statusCode: HttpStatusCode.Ok | HttpStatusCode.Unauthorized; }>; export { tokenHandler as handler };