dmfs / oauth2-essentials

An OAuth2 client implementation based on http-client-essentials.
Apache License 2.0
86 stars 21 forks source link

Readme needs to be updated to reflect new Uri object. #47

Closed alexspence closed 6 years ago

alexspence commented 6 years ago

Under Initialize The Client, this code does not compile:

URI.create needs to be replaced with new LazyUri(new Precoded("http://localhost"))

// Create OAuth2 client
OAuth2Client client = new BasicOAuth2Client(
    provider,
    credentials,
    URI.create("http://localhost") /* Redirect URL */);