| Constructor and Description |
|---|
SAPOfflineTokenServicesCloud(OAuth2ServiceConfiguration serviceConfiguration)
Constructs an instance with custom configuration.
|
SAPOfflineTokenServicesCloud(OAuth2ServiceConfiguration serviceConfiguration,
org.springframework.web.client.RestOperations restOperations)
Constructs an instance with custom configuration and rest template.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2ServiceConfiguration |
OAuth2ServiceConfigurationBuilder.build()
Builds an OAuth configuration (
OAuth2ServiceConfiguration) based on
the properties applied. |
OAuth2ServiceConfiguration |
Environment.getXsuaaConfiguration()
Return OAuth service configuration of Xsuaa identity service instance.
|
OAuth2ServiceConfiguration |
Environment.getXsuaaConfigurationForTokenExchange()
In case there is only one Xsuaa identity service instance, this one gets
returned.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2ServiceConfiguration |
CFEnvironment.getIasConfiguration() |
OAuth2ServiceConfiguration |
CFEnvironment.getXsuaaConfiguration() |
OAuth2ServiceConfiguration |
CFEnvironment.getXsuaaConfigurationForTokenExchange() |
OAuth2ServiceConfiguration |
CFEnvironment.loadForServicePlan(Service service,
CFConstants.Plan plan)
Loads the configuration for a dedicated service plan.
|
| Modifier and Type | Field and Description |
|---|---|
protected OAuth2ServiceConfiguration |
AbstractTokenAuthenticator.serviceConfiguration |
| Modifier and Type | Method and Description |
|---|---|
protected abstract OAuth2ServiceConfiguration |
AbstractTokenAuthenticator.getServiceConfiguration()
Return configured service configuration or Environments.getCurrent() if not
configured.
|
protected OAuth2ServiceConfiguration |
XsuaaTokenAuthenticator.getServiceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AbstractTokenAuthenticator |
AbstractTokenAuthenticator.withServiceConfiguration(OAuth2ServiceConfiguration serviceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
JwtValidatorBuilder |
JwtValidatorBuilder.configureAnotherServiceInstance(OAuth2ServiceConfiguration otherConfiguration)
Allows to provide another service configuration, e.g.
|
static JwtValidatorBuilder |
JwtValidatorBuilder.getInstance(OAuth2ServiceConfiguration configuration)
Creates a builder instance that can be configured further.
|
Copyright © 2020. All rights reserved.