itd-api / AuthState
Interface: AuthState
Defined in: models/users.ts:145
Properties
authenticated
ts
authenticated: boolean;Defined in: models/users.ts:147
Есть ли действующая сессия.
banned
ts
banned: boolean;Defined in: models/users.ts:149
Заблокирован ли текущий аккаунт.
user
ts
user: AuthUser | null;Defined in: models/users.ts:151
Компактные данные текущего пользователя либо null без действующей сессии.