ReadonlyERR_Protected ReadonlybaseProtecteddoProtecteddoProtecteddoRequest 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
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.