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