Sporades SDK API
Preparing search index...
client
UseAuthState
Type Alias UseAuthState
Hook state and auth commands returned by
useAuth()
.
type
UseAuthState
=
{
auth
:
AuthState
|
null
;
error
:
SporadesError
|
null
;
loading
:
boolean
;
providers
:
AuthProviders
;
setPassword
:
AuthApi
[
"setPassword"
]
;
signIn
:
AuthApi
[
"signIn"
]
;
signOut
:
AuthApi
[
"signOut"
]
;
signUp
:
AuthApi
[
"signUp"
]
;
isAuthenticated
()
:
boolean
;
}
Index
Properties
auth
error
loading
providers
set
Password
sign
In
sign
Out
sign
Up
Methods
is
Authenticated
Properties
auth
auth
:
AuthState
|
null
error
error
:
SporadesError
|
null
loading
loading
:
boolean
providers
providers
:
AuthProviders
set
Password
setPassword
:
AuthApi
[
"setPassword"
]
sign
In
signIn
:
AuthApi
[
"signIn"
]
sign
Out
signOut
:
AuthApi
[
"signOut"
]
sign
Up
signUp
:
AuthApi
[
"signUp"
]
Methods
is
Authenticated
isAuthenticated
()
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
auth
error
loading
providers
set
Password
sign
In
sign
Out
sign
Up
Methods
is
Authenticated
Sporades SDK API
Loading...
Hook state and auth commands returned by
useAuth().