Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Documentation for Orion authentication API

Documentation for API Endpoints

All URIs are relative to http://localhost:4074/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 confirmEmail POST /confirm-email Confirm account's e-mail address provided during registration.
DefaultApi connectAccount POST /connect-account Connect a Joystream account (key) with the Gateway acount by providing a signed proof of ownership.
DefaultApi createAccount POST /account Create a new Gateway account. Requires anonymousAuth to be performed first.
DefaultApi deleteArtifacts DELETE /artifacts Delete wallet seed encryption artifacts in case they are no longer needed.
DefaultApi disconnectAccount POST /disconnect-account Disconnect a Joystream account (key) from the Gateway acount.
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 one of the user's connected accounts.
DefaultApi logout POST /logout Terminate the current session.
DefaultApi postArtifacts POST /artifacts Save wallet seed encryption artifacts associated with the account (if not already saved).
DefaultApi postSessionArtifacts POST /session-artifacts Save wallet seed encryption artifacts for the current session on the server.
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: