Methods
(static) authWithCache(page, props)
It checks if the user has a cache, if so, it returns the page, if not, it
returns the auth page
Parameters:
| Name | Type | Description |
|---|---|---|
page |
The page you want to go to. | |
props |
The props of the page you're on. |
- Source:
Returns:
The page that the user is on.