@wristband/nestjs-auth
Version:
SDK for integrating your NestJS application with Wristband. Handles user authentication and token management.
23 lines (22 loc) • 884 B
JavaScript
;
/** *****************************
* 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.
*/
// eslint-disable-next-line no-unused-vars
CallbackResultType["COMPLETED"] = "COMPLETED";
/**
* Indicates that a redirect is required, generally to a login route or page.
*/
// eslint-disable-next-line no-unused-vars
CallbackResultType["REDIRECT_REQUIRED"] = "REDIRECT_REQUIRED";
})(CallbackResultType || (exports.CallbackResultType = CallbackResultType = {}));