gerrit/gerrit-oauth
David Ostrovsky d5b21545d7 OAuthTokenCache: Use account id as key
Current implementation assumes that OAuth provider always exposes
user name by using it for key in OAuth token cache. For some OAuth
providers (most notably Google OAuth provider) this is not the case.

Move from using user name to account id for token cache key. Postpone
populating the cache to the point when the authentication already took
place and use returned account id as cache key.

Bug: Issue 4627
Change-Id: I59f15b7c5ca8be6d52b59d21fac58cba88ba7fe3
2016-10-18 23:37:24 +02:00
..
src/main OAuthTokenCache: Use account id as key 2016-10-18 23:37:24 +02:00
BUCK OAuth: Allow to link claimed identity to existing accounts 2015-03-20 07:31:40 +01:00
BUILD Implement Bazel build 2016-06-14 21:12:02 +02:00