Members
(constant) ReducerState
- Source:
Properties:
Name | Type | Description |
---|---|---|
rejected |
boolean |
|
resuming |
boolean |
|
session |
string | The |
user |
object | An opaque user type when authenticated; |
username |
string | The most recently used |
ReducerState
is the Redux state.
Authenticated
The session is authenticated when the
session
anduser
store values are non-empty and non-null respectively.
Guest
The session is in guest mode when the
session
anduser
store values are""
andnull
respectively.
Methods
Reducer(state, action)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
state |
Object | The reducer state. |
action |
Object | The reducer action. |
Type Definitions
Components
- Source:
Properties:
Name | Type | Description |
---|---|---|
Authenticated |
Component |
|
LoginForm |
Component |
|
Guest |
Component |
|
Type:
- Object
ServerAuthenticateResponse
Properties:
Name | Type | Description |
---|---|---|
success |
boolean |
|
session |
string | The |
user |
Object | A non-null object usable by the application; it is opaque to this package. |
Type:
- Object
ServerResultResponse
Properties:
Name | Type | Description |
---|---|---|
success |
boolean |
|
Type:
- Object