Fetches the access token on mount by calling the auth endpoint. Stores the result in the token store.
Used internally by auth setup; prefer AuthWrapper for typical usage.
Parameters
skip: {skip?:boolean} = {}
Skip the fetch (e.g. when the token is supplied another way).
Fetches the access token on mount by calling the auth endpoint. Stores the result in the token store. Used internally by auth setup; prefer
AuthWrapperfor typical usage.