microsoft / oauth2-useragent

Microsoft OAuth 2.0 User Agent library for Java. Provides classes to facilitate the implementation of "4.1. Authorization Code Grant" from RFC 6749.
Other
35 stars 22 forks source link

Extract and expose useful methods for re-use #27

Closed olivierdagenais closed 8 years ago

olivierdagenais commented 8 years ago

Two small changes that enable me to reduce the amount of debug output by the GCM4ML when JavaFX isn't available, because we now have Device Flow on which to fallback.

Manual Testing

  1. mvn clean install
  2. In the GCM4ML POM, temporarily updated the oauth2-useragent dependency to version 0.8.2-SNAPSHOT.
  3. I was then able to call the new methods in the GCM4ML project, specifically in the AzureAuthority class.

Mission accomplished!