public class XsuaaDefaultEndpoints extends Object implements OAuth2ServiceEndpointsProvider
| Constructor and Description |
|---|
XsuaaDefaultEndpoints(OAuth2ServiceConfiguration config)
Creates a new XsuaaDefaultEndpoints.
|
XsuaaDefaultEndpoints(String baseUri)
Deprecated.
gets removed with the major release 3.0.0 Use instead
XsuaaDefaultEndpoints(String, String) |
XsuaaDefaultEndpoints(String baseUri,
String certUri)
Creates a new XsuaaDefaultEndpoints.
|
XsuaaDefaultEndpoints(URI baseUri)
Deprecated.
gets removed with the major release 3.0.0 Use instead
XsuaaDefaultEndpoints(String, String) |
| Modifier and Type | Method and Description |
|---|---|
URI |
getAuthorizeEndpoint()
Returns authorize endpoint URI.
|
URI |
getJwksUri()
Returns Jwt Key Set URI (JWKS) as specified in
/.well-known/openid-configuration.
|
URI |
getTokenEndpoint()
Returns token endpoint URI.
|
@Deprecated public XsuaaDefaultEndpoints(URI baseUri)
XsuaaDefaultEndpoints(String, String)baseUri - - the base URI of XSUAA. Based on the base URI the tokenEndpoint,
authorize and key set URI (JWKS) will be derived.public XsuaaDefaultEndpoints(@Nonnull String baseUri, @Nullable String certUri)
baseUri - - the base URI of XSUAA. Based on the base URI the tokenEndpoint,
authorize and key set URI (JWKS) will be derived.certUri - - the cert URI of XSUAA. It is required in case of X.509
certificate based authentication.public XsuaaDefaultEndpoints(@Nonnull OAuth2ServiceConfiguration config)
config - - OAuth2ServiceConfiguration of XSUAA. Based on the
credential-type from the configuration, the tokenEndpoint URI,
authorize and key set URI (JWKS) will be derived.@Deprecated public XsuaaDefaultEndpoints(String baseUri)
XsuaaDefaultEndpoints(String, String)baseUri - - the base URI of XSUAA. Based on the base URI the tokenEndpoint,
authorize and key set URI (JWKS) will be derived.public URI getTokenEndpoint()
OAuth2ServiceEndpointsProvidergetTokenEndpoint in interface OAuth2ServiceEndpointsProviderhttps://oauth.server.com/oauth/tokenpublic URI getAuthorizeEndpoint()
OAuth2ServiceEndpointsProvidergetAuthorizeEndpoint in interface OAuth2ServiceEndpointsProviderhttps://oauth.server.com/oauth/authorizepublic URI getJwksUri()
OAuth2ServiceEndpointsProvidergetJwksUri in interface OAuth2ServiceEndpointsProviderhttps://oauth.server.com/token_keysCopyright © 2022. All rights reserved.