public interface OAuth2ServiceConfiguration
Service.| Modifier and Type | Method and Description |
|---|---|
default URI |
getCertUrl()
Cert URL of the OAuth2 identity service instance.
|
String |
getClientId()
Client id of identity service instance.
|
default ClientIdentity |
getClientIdentity()
Client Identity of xsuaa instance
|
String |
getClientSecret()
Client secret of identity service instance.
|
default CredentialType |
getCredentialType()
Credential type as defined in "oauth2-configuration" of the xsuaa service
instance security descriptor.
|
default List<String> |
getDomains()
Domains of the OAuth2 identity service instance.
|
Map<String,String> |
getProperties()
Returns all properties of the configuration as a map.
|
String |
getProperty(String name)
Returns the value of the given property as string.
|
Service |
getService()
Returns the identity
Service of this configuration. |
URI |
getUrl()
Base URL of the OAuth2 identity service instance.
|
boolean |
hasProperty(String name)
Returns true if the configuration contains the given property.
|
boolean |
isLegacyMode()
Returns true, in case of XSUAA service runs in legacy mode.
|
String getClientId()
String getClientSecret()
default ClientIdentity getClientIdentity()
@Nullable default CredentialType getCredentialType()
URI getUrl()
@Nullable default URI getCertUrl()
default List<String> getDomains()
@Nullable String getProperty(String name)
name - the name of the property. You can find constants in
CFConstantsMap<String,String> getProperties()
boolean hasProperty(String name)
name - the name of the property. You can find constants in
CFConstantsService getService()
Service of this configuration.boolean isLegacyMode()
Copyright © 2022. All rights reserved.