Homec4science

restful: apikey and oauth2 authentication support

Authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch> on Feb 18 2014, 13:58.

Description

restful: apikey and oauth2 authentication support

  • Adds support for API authentication via both API keys and OAuth 2.0.
  • Adds pending deprecation messages to API authentication, which will be replaced by OAuth 2.0 personal tokens authentication.
  • Fixes an issue where API response headers would include a set-cookie header.
  • Aligns unauthenticated response status code to 401 for API key and OAuth authentication.
  • Downgrades empty session log message from error level to debug level.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>

Details

Committed
kuncarJun 4 2014, 16:04
Parents
R3600:79d0f62c759b: webhooks: initial release
Branches
Unknown
Tags
Unknown

Event Timeline

Jiri Kuncar <jiri.kuncar@cern.ch> committed R3600:16e4a9c5b5b8: restful: apikey and oauth2 authentication support (authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch>).Jun 4 2014, 16:04