-
Notifications
You must be signed in to change notification settings - Fork 6k
Access Token Response supports any data type #9779
New issue
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
Conversation
...org/springframework/security/oauth2/core/endpoint/MapOAuth2AccessTokenResponseConverter.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @sjohnr. Please see review comments.
...ework/security/oauth2/core/http/converter/OAuth2AccessTokenResponseHttpMessageConverter.java
Show resolved
Hide resolved
...ework/security/oauth2/core/http/converter/OAuth2AccessTokenResponseHttpMessageConverter.java
Outdated
Show resolved
Hide resolved
...ework/security/oauth2/core/http/converter/OAuth2AccessTokenResponseHttpMessageConverter.java
Outdated
Show resolved
Hide resolved
...ework/security/oauth2/core/http/converter/OAuth2AccessTokenResponseHttpMessageConverter.java
Outdated
Show resolved
Hide resolved
...ework/security/oauth2/core/http/converter/OAuth2AccessTokenResponseHttpMessageConverter.java
Show resolved
Hide resolved
...va/org/springframework/security/oauth2/core/endpoint/OAuth2AccessTokenResponseConverter.java
Outdated
Show resolved
Hide resolved
...org/springframework/security/oauth2/core/endpoint/OAuth2AccessTokenResponseMapConverter.java
Outdated
Show resolved
Hide resolved
...org/springframework/security/oauth2/core/endpoint/OAuth2AccessTokenResponseMapConverter.java
Outdated
Show resolved
Hide resolved
...ingframework/security/oauth2/core/endpoint/OAuth2AccessTokenResponseParametersConverter.java
Outdated
Show resolved
Hide resolved
...ingframework/security/oauth2/core/endpoint/OAuth2AccessTokenResponseParametersConverter.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates @sjohnr. After you apply the updates as per review, please go ahead and merge to main.
Also, please ensure the commit comment is up-to-date and as well delete the gh-9685
branch after you merge.
...ework/security/oauth2/core/http/converter/OAuth2AccessTokenResponseHttpMessageConverter.java
Outdated
Show resolved
Hide resolved
...pringframework/security/oauth2/core/endpoint/MapOAuth2AccessTokenResponseConverterTests.java
Outdated
Show resolved
Hide resolved
...pringframework/security/oauth2/core/endpoint/OAuth2AccessTokenResponseMapConverterTests.java
Outdated
Show resolved
Hide resolved
.../security/oauth2/core/http/converter/OAuth2AccessTokenResponseHttpMessageConverterTests.java
Show resolved
Hide resolved
Changed the converter used to convert a map into an OAuth2AccessTokenResponse to support any object as the value, including json numbers and nested objects. Also deprecated old classes/setters and added new classes/setters. Closes gh-9685
Changed the converter used to convert a map into an OAuth2AccessTokenResponse to
support any object as the value, including json numbers and nested objects. Also
deprecated old setters/constructors and added new setters/factory methods.
Closes gh-9685