Package | Description |
---|---|
org.springframework.security.oauth2.client.test |
Modifier and Type | Method and Description |
---|---|
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 © 2019. All rights reserved.