@Configuration @EnableOAuth2Client public class OAuth2ClientConfigurer extends Object
| Constructor and Description |
|---|
OAuth2ClientConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails |
getAuth2ClientDetails() |
org.springframework.security.oauth2.client.OAuth2RestOperations |
oAuth2RestTemplate() |
@Bean public org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails getAuth2ClientDetails()
@Bean
@Scope(value="session",
proxyMode=INTERFACES)
public org.springframework.security.oauth2.client.OAuth2RestOperations oAuth2RestTemplate()
Copyright © 2017. All rights reserved.