the dispatch of the action creator checkedCookies.
It gets the refresh token from the Redux store, sends it to the backend, and if the backend returns a new access token, it sets the access token in the Redux store and gets the user data from the backend
The userId of the user you want to get the data of.
It takes a username and password, hashes the password, and sends it to the backend. If the backend returns a valid response, it stores the refresh token in the Redux store and in a cookie
The username of the user
The password of the user
A promise that resolves to a BackendLoginData object.
It removes the tokens from the Redux store and deletes the cookie
The access token that you want to set to the header.
Generated using TypeDoc version 0.22.15, the 4/20/2022
If there's a refresh token cookie, add it to the store and get an access token with it