예제 #1
0
 @Override
 public void addAccessToken(String accessToken, String account, String clientId) {
   OAuthObject authObject = new OAuthObject();
   authObject.setAccount(accessToken);
   authObject.setAccount(account);
   authObject.setClientId(clientId);
   this.cache.put(accessToken, account);
 }
예제 #2
0
 @Override
 public void addAuthCode(String authCode, String account, String clientId) {
   OAuthObject authObject = new OAuthObject();
   authObject.setAccessCode(authCode);
   authObject.setAccount(account);
   authObject.setClientId(clientId);
   this.cache.put(authCode, authObject);
 }