> +import org.jclouds.oauth.v2.domain.Token;
> +import org.jclouds.rest.annotations.Endpoint;
> +import org.jclouds.rest.annotations.Fallback;
> +import org.jclouds.rest.annotations.FormParams;
> +
> +/**
> + * Binds to an OAuth2 <a 
> href="http://tools.ietf.org/html/rfc6749#section-3.1";>authorization 
> endpoint</a>.
> + */
> +@Endpoint(Authorization.class)
> +public interface AzureAuthorizationApi extends Closeable {
> +   @Named("oauth2:authorize_client_secret")
> +   @POST
> +   @FormParams(keys = "grant_type", values = "client_credentials")
> +   @Consumes(APPLICATION_JSON)
> +   @Fallback(AuthorizationExceptionOn4xx.class)
> +   Token authorize_client_secret(

Prefer camel case syntax.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/250/files/f7cc1b437f11378e105bba552e3cfee9d7491872#r57578836

Reply via email to