Fakultas Ilmu Komputer UI

types.ts 276 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
import { User } from 'services/auth/models';

export interface iUserContext {
  user: User;
  isAuthenticated: boolean;
  isLoading: boolean;
  signup: () => Promise<void>;
  login: () => Promise<void>;
  loginWithGoogle: () => Promise<void>;
  logout: () => Promise<void>;
}