public interface OAuth2TokenKeyService
| Modifier and Type | Method and Description |
|---|---|
default String |
retrieveTokenKeys(URI tokenKeysEndpointUri)
Deprecated.
gets removed in favor of
retrieveTokenKeys(URI, String)
with next major version 3.0.0 |
String |
retrieveTokenKeys(URI tokenKeysEndpointUri,
Map<String,String> params)
Retrieves the JWKS (JSON Web Key Set) from the OAuth2 Server.
|
default String |
retrieveTokenKeys(URI tokenKeysEndpointUri,
String tenantId)
Requests token web key set from Xsuaa OAuth Server.
|
default String |
retrieveTokenKeys(URI tokenKeysEndpointUri,
String tenantId,
String clientId)
Deprecated.
Use
retrieveTokenKeys(URI, Map) instead
Requests token web key set from IAS OAuth Server. |
@Deprecated default String retrieveTokenKeys(@Nonnull URI tokenKeysEndpointUri) throws OAuth2ServiceException
retrieveTokenKeys(URI, String)
with next major version 3.0.0OAuth2ServiceExceptiondefault String retrieveTokenKeys(@Nonnull URI tokenKeysEndpointUri, @Nullable String tenantId) throws OAuth2ServiceException
tokenKeysEndpointUri - the token endpoint URI (jku).tenantId - the unique identifier of the tenant. Obligatory parameter in context of
multi-tenant IAS applications to make sure that the tenant id
belongs to the IAS tenant.OAuth2ServiceException - in case of an error during the http request.@Deprecated default String retrieveTokenKeys(@Nonnull URI tokenKeysEndpointUri, @Nullable String tenantId, @Nullable String clientId) throws OAuth2ServiceException
retrieveTokenKeys(URI, Map) instead
Requests token web key set from IAS OAuth Server.tokenKeysEndpointUri - the token endpoint URI (jku).tenantId - the unique identifier of the tenant. Obligatory parameter in context of
multi-tenant IAS applications to make sure that the tenant id
belongs to the IAS tenant.clientId - clientId from the service bindingOAuth2ServiceException - in case of an error during the http request.String retrieveTokenKeys(@Nonnull URI tokenKeysEndpointUri, Map<String,String> params) throws OAuth2ServiceException
tokenKeysEndpointUri - the JWKS endpoint URI.params - additional header parameters that are sent along with the request. Use constants from HttpHeaders for the header keys.OAuth2ServiceException - in case of an error during the http request.Copyright © 2023. All rights reserved.