We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E.g.
OAuth2Options credentials = new OAuth2Options() .setFlow(OAuth2FlowType.CLIENT) .setClientId("<client-id>") .setClientSecret("<client-secret>") .setSite("https://api.oauth.com"); // Initialize the OAuth2 Library OAuth2Auth oauth2 = OAuth2Auth.create(vertx, credentials); JsonObject tokenConfig = new JsonObject(); oauth2.authenticate(tokenConfig) .onSuccess(user -> { // Success }) .onFailure(err -> { System.err.println("Access Token Error: " + err.getMessage()); });
https://vertx.io/docs/vertx-auth-oauth2/java/#_client_credentials_flow
.setFlow(OAuth2FlowType.CLIENT) and oauth2.authenticate(tokenConfig) taking JsonObject are both deprecated
.setFlow(OAuth2FlowType.CLIENT)
oauth2.authenticate(tokenConfig)
JsonObject
The text was updated successfully, but these errors were encountered:
tsegismont
No branches or pull requests
E.g.
https://vertx.io/docs/vertx-auth-oauth2/java/#_client_credentials_flow
.setFlow(OAuth2FlowType.CLIENT)
andoauth2.authenticate(tokenConfig)
takingJsonObject
are both deprecatedThe text was updated successfully, but these errors were encountered: