Use the new OAuth2AuthorizationURL
in OAuth2AuthHandler.extraParams
#2602
Labels
OAuth2AuthorizationURL
in OAuth2AuthHandler.extraParams
#2602
Version
4.5.7
Context
With the deprecation of
String OAuth2Auth.authorizeURL(JsonObject params)
and the hint to rather useString OAuth2Auth.authorizeURL(OAuth2AuthorizationURL url)
, theOAuth2AuthHandler OAuth2AuthHandler.extraParams(JsonObject extraParams)
should also prefer the new type instead of accepting aJsonObject
as they are closely related and for improved type safety.https://github.com/eclipse-vertx/vertx-auth/blob/6d63ba27e779810b8ebd5af3c59d9d77fd6037dd/vertx-auth-oauth2/src/main/java/io/vertx/ext/auth/oauth2/OAuth2Auth.java#L131-L153
vertx-web/vertx-web/src/main/java/io/vertx/ext/web/handler/OAuth2AuthHandler.java
Lines 65 to 72 in 6b093c0
The text was updated successfully, but these errors were encountered: