Protected
getProtected
getOn setup, we can call getRequiredVersion and ping() to confirm that the service exists and that it is of a matching version semantically E.g. if required version is ~2.5 and the api returns 2.6.3, then no issue If returns 3.0.1, should log a warning If returns 1.0.2, should throw error saying it isn't new enough
Protected
getPerform a email + password login to the auth service, updating the session state in the session service.
If two factor auth is configured, this will require a second call to the two factor auth endpoint.
Perform login via one time token (retrieved from oauth process)
Ping the backend service to check that it is alive and well
Perform a refresh of the access token, updating the session state. Will throw 401 errors on expiry or invalid refresh token.
The caller should also handle 502 errors by retrying the request.
Resend the two factor auth code, updating the session state.
Verify the two factor auth code.
Generated using TypeDoc
Creates a url to auth service /auth/google with query params
On the frontend, you must: