Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 3.89 KB

README.md

File metadata and controls

61 lines (48 loc) · 3.89 KB

Documentation for Orion authentication API

Documentation for API Endpoints

All URIs are relative to http://localhost/api/v1

Class Method HTTP request Description
DefaultApi anonymousAuth POST /anonymous-auth Authenticate as an anonymous user, either using an existing user identifier or creating a new one.
DefaultApi changeAccount POST /change-account Change the blockchain (Joystream) account associated with the Gateway account. Delete the old account's encryption artifacts and optionally set new ones.
DefaultApi confirmEmail POST /confirm-email Confirm account's e-mail address provided during registration.
DefaultApi createAccount POST /account Create a new Gateway account. Requires anonymousAuth to be performed first.
DefaultApi getArtifacts GET /artifacts Get wallet seed encryption artifacts.
DefaultApi getSessionArtifacts GET /session-artifacts Get wallet seed encryption artifacts for the current session.
DefaultApi login POST /login Login to user's account by providing a message signed by the associated blockchain account.
DefaultApi logout POST /logout Terminate the current session.
DefaultApi postSessionArtifacts POST /session-artifacts Save wallet seed encryption artifacts for the current session on the server.
DefaultApi registerUserInteraction POST /register-user-interaction Register a user interaction with Atlas part.
DefaultApi requestEmailConfirmationToken POST /request-email-confirmation-token Request a token to be sent to account's e-mail address, which will allow confirming the ownership of the e-mail by the user.

Documentation for Models

Documentation for Authorization

bearerAuth

  • Type: HTTP basic authentication

cookieAuth

  • Type: API key
  • API key parameter name: session_id
  • Location: