-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add support for Client Registration Model and InMemory Client Repository #70
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
Add support for Client Registration Model and InMemory Client Repository #70
Conversation
7822f13
to
56bccaf
Compare
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
Show resolved
Hide resolved
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
Show resolved
Hide resolved
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
Outdated
Show resolved
Hide resolved
56bccaf
to
a3a75cd
Compare
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
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.
This looks great @anoopgarlapati ! There are a few very minor changes. After you update please squash to one commit and we'll be ready to merge.
I just noticed that this is still in draft mode. Are there other changes you are planning?
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
Outdated
Show resolved
Hide resolved
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
Outdated
Show resolved
Hide resolved
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
Outdated
Show resolved
Hide resolved
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
Outdated
Show resolved
Hide resolved
...n/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
Outdated
Show resolved
Hide resolved
...org/springframework/security/oauth2/server/authorization/client/TestClientRegistrations.java
Outdated
Show resolved
Hide resolved
...org/springframework/security/oauth2/server/authorization/client/TestClientRegistrations.java
Outdated
Show resolved
Hide resolved
...org/springframework/security/oauth2/server/authorization/client/TestClientRegistrations.java
Outdated
Show resolved
Hide resolved
...a/org/springframework/security/oauth2/server/authorization/client/RegisteredClientTests.java
Outdated
Show resolved
Hide resolved
a3a75cd
to
97af040
Compare
@jgrandja I have updated the PR with the changes suggested. |
97af040
to
236fb80
Compare
@anoopgarlapati Thanks for the quick response! I'll review this tomorrow. I'm also thinking we should make this change to the Instead of public Builder clientAuthenticationMethods(ClientAuthenticationMethod... clientAuthenticationMethods)
public Builder clientAuthenticationMethods(Collection<ClientAuthenticationMethod> clientAuthenticationMethods) Replace with // additive
public Builder clientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod)
public Builder clientAuthenticationMethods(Consumer<ClientAuthenticationMethod> clientAuthenticationMethodsConsumer) This will make the We would apply the same change to What do you think? |
@jgrandja I like the idea of additive fluent setters as well. I'll make the necessary changes. |
Awesome @anoopgarlapati and great work! |
236fb80
to
8700ff1
Compare
@jgrandja I've updated the PR with changes to Builder. |
Thank you for the PR @anoopgarlapati. This is now in master! FYI, I added a polish commit with some minor updates. And congrats as this is the very first implementation merged! Let me know if you have free time to pick up another issue and I'll find you one. |
@jgrandja Hey Joe, as discussed in meeting my team will reach out to you for further contribution on this project. |
Sounds great @anoopgarlapati ! I will reach out to you offline. |
Fixes gh-40