Files
jitu-auth0-frontend/node_modules/@auth0/auth0-react/dist/auth-state.d.ts
T
2025-12-01 23:23:05 +07:00

15 lines
460 B
TypeScript

import { User } from '@auth0/auth0-spa-js';
/**
* The auth state which, when combined with the auth methods, make up the return object of the `useAuth0` hook.
*/
export interface AuthState<TUser extends User = User> {
error: Error | undefined;
isAuthenticated: boolean;
isLoading: boolean;
user: TUser | undefined;
}
/**
* The initial auth state.
*/
export declare const initialAuthState: AuthState;
//# sourceMappingURL=auth-state.d.ts.map