1. 19 Sep, 2016 3 commits
    • Nick Thomas's avatar
      Stop putting private tokens in Gon · 48d563a3
      Nick Thomas authored
      48d563a3
    • Nick Thomas's avatar
      Enable Warden for the Grape API · 10c07226
      Nick Thomas authored
      The practical effect of this commit is to make the API check the Rails session
      cookie for authentication details. If the cookie is present and valid, it will
      be used to authenticate.
      
      The API now has several authentication options for users. They follow in this
      order of precedence:
      
      * Authentication token
      * Personal access token
      * OAuth2 Bearer token (Doorkeeper - application access)
      * Rails session cookie
      10c07226
    • Nick Thomas's avatar
      Remove some dead code from the Grape API · 5db3bc64
      Nick Thomas authored
      The `guard_all!` method is never called, and `guard!` is not implemented. The
      `doorkeeper_guard!` method is also never called, and is mostly the same as its
      non-bang counterpart.
      5db3bc64
  2. 16 Sep, 2016 23 commits
  3. 15 Sep, 2016 14 commits