@wristband/nextjs-auth
Version:
SDK for integrating your NextJS application with Wristband. Handles user authentication and token management.
15 lines (14 loc) • 556 B
JavaScript
/**
* Enum representing different possible results from the execution of the callback handler.
*/
export 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 || (CallbackResultType = {}));