public class DefaultOAuth2TokenKeyService extends Object implements OAuth2TokenKeyService
| Constructor and Description |
|---|
DefaultOAuth2TokenKeyService() |
DefaultOAuth2TokenKeyService(org.apache.http.impl.client.CloseableHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
String |
retrieveTokenKeys(URI tokenKeysEndpointUri,
String zoneId)
Requests token web key set from OAuth Server.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitretrieveTokenKeyspublic DefaultOAuth2TokenKeyService()
public DefaultOAuth2TokenKeyService(@Nonnull org.apache.http.impl.client.CloseableHttpClient httpClient)
public String retrieveTokenKeys(URI tokenKeysEndpointUri, @Nullable String zoneId) throws OAuth2ServiceException
OAuth2TokenKeyServiceretrieveTokenKeys in interface OAuth2TokenKeyServicetokenKeysEndpointUri - the token endpoint URI (jku).zoneId - the zone uuid of the tenant. Obligatory parameter in context of
multi-tenant IAS applications to make sure that the zone uuid
belongs to the IAS tenant.OAuth2ServiceException - in case of an error during the http request.Copyright © 2022. All rights reserved.