@Configuration @Conditional(value=org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2RestOperationsConfiguration.ClientCredentialsCondition.class) protected static class OAuth2RestOperationsConfiguration.SingletonScopedConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
SingletonScopedConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.oauth2.client.DefaultOAuth2ClientContext |
oauth2ClientContext() |
org.springframework.security.oauth2.client.token.grant.client.ClientCredentialsResourceDetails |
oauth2RemoteResource() |
@Bean @ConfigurationProperties(prefix="security.oauth2.client") @Primary public org.springframework.security.oauth2.client.token.grant.client.ClientCredentialsResourceDetails oauth2RemoteResource()
@Bean public org.springframework.security.oauth2.client.DefaultOAuth2ClientContext oauth2ClientContext()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.