@wristband/nextjs-auth
Version:
SDK for integrating your Next.js application with Wristband. Handles user authentication, session management, and token management.
9 lines (8 loc) • 387 B
TypeScript
import { WristbandAuth } from './wristband-auth';
import { AuthConfig } from '../types';
/**
* Wristband SDK function to create an instance of WristbandAuth.
* @param {AuthConfig} - authConfig Configuration for Wristband authentication.
* @returns {WristbandAuth} - An instance of WristbandAuth.
*/
export declare function createWristbandAuth(authConfig: AuthConfig): WristbandAuth;