Class OAuth2ServiceSettings
java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
Settings about the Authorization Server.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOAuth2ServiceSettings(URI baseUri, String tokenPath, String authorizePath, String keysetPath) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()Invoke a builder for this type.com.sap.cloud.security.xsuaa.client.OAuth2ServiceEndpointsProviderHelps in constructing the OAuth2 endpoints; the tokenEndpoint, authorize and key set URI (JWKS) from thebaseUri.toString()
-
Constructor Details
-
OAuth2ServiceSettings
-
-
Method Details
-
toOAuth2Endpoints
@Nonnull @Beta public com.sap.cloud.security.xsuaa.client.OAuth2ServiceEndpointsProvider toOAuth2Endpoints()Helps in constructing the OAuth2 endpoints; the tokenEndpoint, authorize and key set URI (JWKS) from thebaseUri.- Returns:
- an implementation of
OAuth2ServiceEndpointsProvider - Since:
- 4.14.0
-
ofBaseUri
@Nonnull public static OAuth2ServiceSettings.OAuth2ServiceSettingsBuilder ofBaseUri(@Nonnull URI baseUri) Invoke a builder for this type.- Parameters:
baseUri- The required OAuth2 service base URI.- Returns:
- An instance of the fluent builder API.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getBaseUri
-
getTokenPath
-
getAuthorizePath
-
getKeysetPath
-