UNPKG

@wristband/nextjs-auth

Version:

SDK for integrating your Next.js application with Wristband. Handles user authentication, session management, and token management.

13 lines (12 loc) 519 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createWristbandAuth = createWristbandAuth; const wristband_auth_impl_1 = require("./wristband-auth-impl"); /** * Wristband SDK function to create an instance of WristbandAuth. * @param {AuthConfig} - authConfig Configuration for Wristband authentication. * @returns {WristbandAuth} - An instance of WristbandAuth. */ function createWristbandAuth(authConfig) { return new wristband_auth_impl_1.WristbandAuthImpl(authConfig); }