@Configuration @ConditionalOnNotWebApplication 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(value="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.