Protected ReadonlybaseReadonlyERR_ProtecteddoProtecteddoProtecteddoRequest the UserInfo of the logged in user.
The user is identified by the session cookie.
Send a login request. Sets the session cookie on success.
The AccountLoginRequest to send
An error message if something went wrong
Send a logout request. Always (no matter if failed or not) removes the session cookie.
Register a new account.
The AccountRegisterRequest to send
An error message if something went wrong
ProtectedtoHelper to transform data to URLSearchParams
Any key with a value of undefined will be ignored.
Any key with a value of null will be included.
the data to transform to URLSearchParams
a URLSearchParams representaton of data
A wrapper for PokéRogue account API requests.