UNPKG

@wristband/nextjs-auth

Version:

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

21 lines (20 loc) 790 B
"use strict"; /** ***************************** * Externally available types ***************************** */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CallbackResultType = void 0; /** * Enum representing different possible results from the execution of the callback handler. */ var CallbackResultType; (function (CallbackResultType) { /** * Indicates that the callback is successfully completed and data is available for creating a session. */ CallbackResultType["COMPLETED"] = "COMPLETED"; /** * Indicates that a redirect is required, generally to a login route or page. */ CallbackResultType["REDIRECT_REQUIRED"] = "REDIRECT_REQUIRED"; })(CallbackResultType || (exports.CallbackResultType = CallbackResultType = {}));