@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); }
@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); }