Readonly
ERR_Protected
Readonly
baseProtected
doProtected
doProtected
doRequest 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
Protected
toHelper 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.