public class SpringOAuth2TokenKeyService extends Object implements OAuth2TokenKeyService
| Constructor and Description |
|---|
SpringOAuth2TokenKeyService(org.springframework.web.client.RestOperations restOperations) |
| 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 SpringOAuth2TokenKeyService(@Nonnull org.springframework.web.client.RestOperations restOperations)
public String retrieveTokenKeys(URI tokenKeysEndpointUri, 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 © 2021. All rights reserved.