Hook providing operations and corresponding state for authenticating with an Atlas App.
The AuthResult values returned from this hook (e.g. state
, pending
, etc.) are shared across all components under a given AppProvider
, as only one operation can be in progress at a given time (i.e. we will store the values on the context). This means that, for example, multiple components can use the useAuth
hook to access loginResult.pending
to render a spinner when login is in progress, without needing to pass that state around or store it somewhere global in their app code.
An object containing operations and state for authenticating with an Atlas App.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4