Conversion from AccessToken to OAuthUserInfo

Minor refactoring extrating the common parts of
converting an access token to user info and
retrieving the display name.

Change-Id: Id5635601cafa6198208017620f6b47b36a90e3b6
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
1 file changed
tree: ce686a20df0d4657aee8815d3fe55182a406e392
  1. .buckconfig
  2. .gitignore
  3. BUCK
  4. LICENSE
  5. LICENSE-scribe
  6. README.md
  7. VERSION
  8. lib/
  9. src/
README.md

Cloud Foundry UAA OAuth 2.0 Authentication Provider

With this plugin Gerrit can use OAuth2 protocol to authenticate users accessing Gerrit's Web UI with a CloudFoundry User Account and Authentication (UAA) server. The Sign In link will redirect the user to the UAA login screen.

For Git-over-HTTP communication users still need to generate and use an HTTP password.

License

Apache License 2.0