Attempts to get the current user by making a request of the /me endpoint.
An observable that will return an Account if the user is logged in, or false if the user is not logged in.
Retrieves the OAuth token data object from storage, relying on its set token store for the loading implementation details.
Attempts to register a new account by making a POST request to the /register endpoint.
An observable that will return an Account if the POST was successful.
Generated using TypeDoc
Returns the JSON error from an HTTP response, or a generic error if the response is not a JSON error