FlowType - AckeeCZ/petrus Wiki
FlowType gives you current high-level auth. state.
FlowType.INDETERMINATE- Flow type hasn't been determined yet. Tokens retrieval is in process.
- Tokens retrieval was completed, but no tokens has been found.
- Or auth session ended -
AUTH_SESSION_ENDaction was dispatched.
AUTH_SESSION_STARTaction was dispatched, so valid tokens are available, authorized user successfully fetched.
Such a variable is useful for deciding between auth. and non-auth. endpoints.
Table of contents
Access token isn't avail. or valid, or auth. user isn't avail.
Access token is avail. and valid, and auth. user is avail.
Auth user and access token might be available –
flowType hasn't been resolved yet.