Type alias AuthContextType
AuthContextType: {
isAuth: boolean;
logout: (() => Promise<void>);
setExpire: ((unixTimestamp) => void);
}
Type declaration
-
isAuth: boolean
-
logout: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
setExpire: ((unixTimestamp) => void)
-
- (unixTimestamp): void
-
Returns void