/** * Store an access token for the given user/gadget/service/token name */ public void storeTokenKeyAndSecret(SecurityToken securityToken, ConsumerInfo consumerInfo, OAuthArguments arguments, TokenInfo tokenInfo, OAuthResponseParams responseParams) throws OAuthRequestException { try { store.setTokenInfo(securityToken, consumerInfo, arguments.getServiceName(), arguments.getTokenName(), tokenInfo); } catch (GadgetException e) { throw new OAuthRequestException(OAuthError.UNKNOWN_PROBLEM, "Unable to store access token", e); } }
/** * Store an access token for the given user/gadget/service/token name */ public void storeTokenKeyAndSecret(SecurityToken securityToken, ConsumerInfo consumerInfo, OAuthArguments arguments, TokenInfo tokenInfo, OAuthResponseParams responseParams) throws OAuthRequestException { try { store.setTokenInfo(securityToken, consumerInfo, arguments.getServiceName(), arguments.getTokenName(), tokenInfo); } catch (GadgetException e) { throw new OAuthRequestException(OAuthError.UNKNOWN_PROBLEM, "Unable to store access token", e); } }
/** * Store an access token for the given user/gadget/service/token name */ public void storeTokenKeyAndSecret(SecurityToken securityToken, ConsumerInfo consumerInfo, OAuthArguments arguments, TokenInfo tokenInfo, OAuthResponseParams responseParams) throws OAuthRequestException { try { store.setTokenInfo(securityToken, consumerInfo, arguments.getServiceName(), arguments.getTokenName(), tokenInfo); } catch (GadgetException e) { throw new OAuthRequestException(OAuthError.UNKNOWN_PROBLEM, "Unable to store access token", e); } }