public class OAuthTokenCache extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OAUTH_TOKENS |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.auth.oauth.OAuthToken |
get(com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user) |
com.google.gerrit.extensions.auth.oauth.OAuthToken |
get(String userName) |
boolean |
has(com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user) |
static com.google.inject.Module |
module() |
void |
put(com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user,
com.google.gerrit.extensions.auth.oauth.OAuthToken accessToken) |
void |
remove(com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user) |
public static final String OAUTH_TOKENS
public static com.google.inject.Module module()
public boolean has(com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user)
public com.google.gerrit.extensions.auth.oauth.OAuthToken get(com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user)
public com.google.gerrit.extensions.auth.oauth.OAuthToken get(String userName)
public void put(com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user, com.google.gerrit.extensions.auth.oauth.OAuthToken accessToken)
public void remove(com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user)