Members
(constant) LoginScreen
Provides a login form and links to RegisterScreen
- Source:
(constant) MainNavigator
Handles routing between authenticated and public routes automagically.
- Source:
(constant) NavigateButton
Renders a button wih a route binding. On press triggers the given route by name.
- Source:
(constant) Stack
Provides a "push/pop" animation when switching between screens.
- Source:
(constant) createLog
Creates a new logger.
- Source:
(constant) useAuth
Provides a state and authentication context for components to decide, whether the user is authenticated and also to run several authentication actions.
- Source:
(constant) useConnection
Hook that handle auto-reconnect and updates state accordingly.
- Source:
Methods
signOut() → {React.Context.<object>}
Our authentication context provides an API for our components that allows them to communicate with the servers in a decoupled way.
- Source:
Returns:
- Type
- React.Context.<object>