|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 OAuth2ContextSetup 的软件包 | |
|---|---|
| org.springframework.security.oauth2.client.test | |
| org.springframework.security.oauth2.client.test 中 OAuth2ContextSetup 的使用 |
|---|
| 返回 OAuth2ContextSetup 的 org.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. |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||