@wristband/nextjs-auth
Version:
SDK for integrating your NextJS application with Wristband. Handles user authentication and token management.
18 lines (17 loc) • 692 B
JavaScript
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 = {}));
;