This pull request enables a per-request customization of the OAuth properties, 
such as the audience and resource. This is useful for providers that have APIs 
that authorize different resources, such as Azure ARM and the KeyVault API.

The changes in this PR are backward-compatible and by default preserve the 
current behavior.

/cc @jmspring 
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/1160

-- Commit Summary --

  * OAuth filter customization per request

-- File Changes --

    A 
apis/oauth/src/main/java/org/jclouds/oauth/v2/config/OAuthConfigFactory.java 
(79)
    M 
apis/oauth/src/main/java/org/jclouds/oauth/v2/filters/ClientCredentialsJWTBearerTokenFlow.java
 (29)
    M 
apis/oauth/src/main/java/org/jclouds/oauth/v2/filters/ClientCredentialsSecretFlow.java
 (45)
    M 
apis/oauth/src/main/java/org/jclouds/oauth/v2/filters/JWTBearerTokenFlow.java 
(17)
    M 
apis/oauth/src/test/java/org/jclouds/oauth/v2/filters/TestJWTBearerTokenFlow.java
 (7)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/1160.patch
https://github.com/jclouds/jclouds/pull/1160.diff

-- 
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/pull/1160

Reply via email to