UNPKG

@wristband/nextjs-auth

Version:

SDK for integrating your NextJS application with Wristband. Handles user authentication and token management.

9 lines (8 loc) 309 B
export declare class WristbandApiClient { private baseURL; private defaultHeaders; constructor(wristbandApplicationDomain: string); private request; get<T>(endpoint: string, headers?: HeadersInit): Promise<T>; post<T>(endpoint: string, body: any, headers?: HeadersInit): Promise<T>; }