> +      
> bind(HttpErrorHandler.class).annotatedWith(ServerError.class).to(AzureComputeErrorHandler.class);
> +   }
> +
> +   @Override
> +   protected void installLocations() {
> +      super.installLocations();
> +      bind(ImplicitLocationSupplier.class).
> +              to(OnlyLocationOrFirstRegionOptionallyMatchingRegionId.class).
> +              in(Scopes.SINGLETON);
> +   }
> +
> +   @Override
> +   protected void configure() {
> +      install(new AzureComputeParserModule());
> +      super.configure();
> +      
> bind(OAuthScopes.class).toInstance(OAuthScopes.ReadOrWriteScopes.create("read",
>  "read write"));

With the OAuth implementation, this binding is not needed, as we don't need to 
send a "scopes" parameter when requesting an access token. Just remove it.
If it turns that a concrete request needs to set that parameter, we'll 
configure the binding just for that request.

---
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/8d7d68bf33361d7f5df68c7e7232b03116ed6977#r58621432

Reply via email to