UNPKG

@zeushq/nextjs-zidentity

Version:

Next.js SDK for signin in with Zeus Identity

15 lines 898 B
import { InitZeusIdentity } from './instance'; import { GetAccessToken, GetSession } from './session'; import { WithApiAuthRequired } from './helpers'; import { HandleAuth, HandleCallback, HandleLogin, HandleLogout, HandleProfile } from './handlers'; export { UserProvider, UserProviderProps, UserProfile, UserContext, useUser, withPageAuthRequired, WithPageAuthRequired } from './frontend'; export declare const initZeusIdentity: InitZeusIdentity; export declare const getSession: GetSession; export declare const getAccessToken: GetAccessToken; export declare const withApiAuthRequired: WithApiAuthRequired; export declare const handleLogin: HandleLogin; export declare const handleLogout: HandleLogout; export declare const handleCallback: HandleCallback; export declare const handleProfile: HandleProfile; export declare const handleAuth: HandleAuth; //# sourceMappingURL=index.browser.d.ts.map