/** * Executes the call to the REST Service requesting the token revocation and processes the response. * * @param clientId The client identifier. * @param clientSecret The client secret. * @param token The token that the client wants to get revoked. * @param tokenTypeHint A hint about the type of the token submitted for revocation. * @return The token revocation response. */ public TokenRevocationResponse execTokenRevocation(String clientId, String clientSecret, String token, TokenTypeHint tokenTypeHint) { setRequest(new TokenRevocationRequest()); getRequest().setToken(token); getRequest().setTokenTypeHint(tokenTypeHint); getRequest().setAuthUsername(clientId); getRequest().setAuthPassword(clientSecret); return exec(); }
tokenRevocationClient.setRequest(tokenRevocationRequest);
tokenRevocationClient.setRequest(tokenRevocationRequest);
tokenRevocationClient.setRequest(tokenRevocationRequest);
tokenRevocationClient2.setRequest(tokenRevocationRequest2);
tokenRevocationClient1.setRequest(tokenRevocationRequest1); tokenRevocationClient2.setRequest(tokenRevocationRequest2);
tokenRevocationClient1.setRequest(tokenRevocationRequest1); tokenRevocationClient2.setRequest(tokenRevocationRequest2);
tokenRevocationClient1.setRequest(tokenRevocationRequest1); tokenRevocationClient2.setRequest(tokenRevocationRequest2);