Interface: AuthState
Defined in: web/lib/auth/types.ts:82
Full authentication state.
Extended by
Properties
error
error:
null|string
Defined in: web/lib/auth/types.ts:96
Error message if authentication failed
isAuthenticated
isAuthenticated:
boolean
Defined in: web/lib/auth/types.ts:84
Whether the user is authenticated
isLoading
isLoading:
boolean
Defined in: web/lib/auth/types.ts:87
Whether auth state is being loaded/verified
session
session:
null|AuthSession
Defined in: web/lib/auth/types.ts:93
Session tokens (null if not authenticated)
user
user:
null|ChiveUser
Defined in: web/lib/auth/types.ts:90
Authenticated user (null if not authenticated)