public interface Environment
OAuth2ServiceConfiguration) of a supported identity Service.| Modifier and Type | Interface and Description |
|---|---|
static class |
Environment.Type
Represents a supported SAP CP environment.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2ServiceConfiguration |
getIasConfiguration()
Return OAuth service configuration of IAS identity service instance.
|
int |
getNumberOfXsuaaConfigurations()
Returns the number of Xsuaa identity service instances.
|
Map<Service,List<OAuth2ServiceConfiguration>> |
getServiceConfigurationsAsList()
Gives access to all service configurations parsed from the environment.
|
Environment.Type |
getType() |
OAuth2ServiceConfiguration |
getXsuaaConfiguration()
Return the primary OAuth service configuration of Xsuaa identity service instance.
|
OAuth2ServiceConfiguration |
getXsuaaConfigurationForTokenExchange()
In case there is only one Xsuaa identity service instance, this one gets
returned.
|
@Nonnull Environment.Type getType()
@Nullable OAuth2ServiceConfiguration getXsuaaConfiguration()
@Nullable OAuth2ServiceConfiguration getIasConfiguration()
int getNumberOfXsuaaConfigurations()
@Nullable OAuth2ServiceConfiguration getXsuaaConfigurationForTokenExchange()
@Nullable Map<Service,List<OAuth2ServiceConfiguration>> getServiceConfigurationsAsList()
Copyright © 2023. All rights reserved.