Link

Exchange project keys with your authority.

$   nv link <?id>
    Linking project...
 
    Press ENTER to open in browser:
    https://onlynv.dev/api/projects/1/link/2

Process

  1. The agent redirects the user to GET:/projects/:project_id/link/:iv, where iv is the initialisation vector.
  2. The agent begins polling POST:/api/projects/:project_id/link/:iv for the project status.
  3. The authority responds with a @LinkResponse.
  4. Upon success, @LinkResponse::success is true, and @LinkResponse::bearer and @LinkResponse::public keys are provided.
  5. The agent stores the keys for later use.

On this page