UNPKG

@wristband/nextjs-auth

Version:

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

18 lines (17 loc) 654 B
/** ***************************** * Externally available types ***************************** */ /** * 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 = {}));