Add support for client_credentials grant

Fixes gh-4982
This commit is contained in:
Joe Grandja
2018-07-17 23:11:59 -04:00
committed by Rob Winch
parent 14a7387190
commit 952743269d
12 changed files with 1081 additions and 32 deletions

View File

@@ -98,6 +98,11 @@ public class OAuth2ClientConfigurationTests {
}
}
@Bean
public ClientRegistrationRepository clientRegistrationRepository() {
return mock(ClientRegistrationRepository.class);
}
@Bean
public OAuth2AuthorizedClientRepository authorizedClientRepository() {
return AUTHORIZED_CLIENT_REPOSITORY;