cookieJar for api calls
the password to use for login
main rsi url
a collection of tokens
the username to use for login
Convenience method to push data to api/spectrum/search/member/autocomplete
the Monicker or Handle to search
the community_id in which to search
the data returned by the RSI API
Appends RSI-Token to header
Appends x-tavern-id to headers
Prompts the user for a MFA code and tests it until it's wokring.
Sends a GET request to the Service Website. Will append the full Service url (with trailing slash)
the endpoint
a popsicle Promise
Goes to main rsi page to get basic un-authed token
wheter or not we reached RSI.
Return the current RSI-Token
The RSI-Token
Saves the current token from the cookieJar
the name of the token to store
Performs a Login on the Service website. And sets auth token as needed.
wheter or not we're sucessfully logged-in.
Handles MultiStep Authentitifaciton if required.
Convenience method to generate requests options
the request option
the request option with shared cookiejar and correct auth headers
Sends a POST request to the Service Website. Will append the full Service url (with trailing slash)
the endpoint
an object of data to send
a popsicle Promise
Sets the current password to use
the password to use
Sets the tavern-id for Spectrum API calls
Sets the current username to use
the username to use
Generated using TypeDoc
Main API class to handle every call to the RSI-API as well as user-identification.
Service