接口 org.springframework.security.oauth2.client.OAuth2RestOperations
的使用

使用 OAuth2RestOperations 的软件包
org.springframework.security.oauth2.client   
org.springframework.security.oauth2.client.filter   
 

org.springframework.security.oauth2.clientOAuth2RestOperations 的使用
 

实现 OAuth2RestOperationsorg.springframework.security.oauth2.client 中的类
 class OAuth2RestTemplate
          Rest template that is able to make OAuth2-authenticated REST requests with the credentials of the provided resource.
 

org.springframework.security.oauth2.client.filterOAuth2RestOperations 的使用
 

声明为 OAuth2RestOperationsorg.springframework.security.oauth2.client.filter 中的字段
 OAuth2RestOperations OAuth2ClientAuthenticationProcessingFilter.restTemplate
           
 

参数类型为 OAuth2RestOperationsorg.springframework.security.oauth2.client.filter 中的方法
 void OAuth2ClientAuthenticationProcessingFilter.setRestTemplate(OAuth2RestOperations restTemplate)
          A rest template to be used to obtain an access token.
 



Copyright © 2013. All rights reserved.