Skip to content
Snippets Groups Projects
  1. Jul 21, 2016
  2. Jul 20, 2016
  3. Jul 19, 2016
  4. Jul 18, 2016
    • Richard van der Hoff's avatar
      Add device_id support to /login · f863a52c
      Richard van der Hoff authored
      Add a 'devices' table to the storage, as well as a 'device_id' column to
      refresh_tokens.
      
      Allow the client to pass a device_id, and initial_device_display_name, to
      /login. If login is successful, then register the device in the devices table
      if it wasn't known already. If no device_id was supplied, make one up.
      
      Associate the device_id with the access token and refresh token, so that we can
      get at it again later. Ensure that the device_id is copied from the refresh
      token to the access_token when the token is refreshed.
      f863a52c
Loading