类 org.springframework.security.oauth2.client.test.OAuth2ContextSetup
的使用

使用 OAuth2ContextSetup 的软件包
org.springframework.security.oauth2.client.test   
 

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

返回 OAuth2ContextSetuporg.springframework.security.oauth2.client.test 中的方法
static OAuth2ContextSetup OAuth2ContextSetup.standard(RestTemplateHolder clientHolder)
          Create a new client that knows how to create its protected resource with no externalization help.
static OAuth2ContextSetup OAuth2ContextSetup.withEnvironment(RestTemplateHolder clientHolder, org.springframework.core.env.Environment environment)
          Create a new client that can inject an Environment into its protected resource details.
static OAuth2ContextSetup OAuth2ContextSetup.withTestAccounts(RestTemplateHolder clientHolder, TestAccounts testAccounts)
          Create a new client that can inject a TestAccounts instance into its protected resource details.
 



Copyright © 2013. All rights reserved.