/** * Regenerate consumer secret for the application. * * @param consumerKey Consumer key for the application. * @throws IdentityOAuthAdminException Error while regenerating the consumer secret. */ public void updateOauthSecretKey(String consumerKey) throws IdentityOAuthAdminException { updateAndRetrieveOauthSecretKey(consumerKey); }