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)
Requests token web key set from OAuth Server.
|
public DefaultOAuth2TokenKeyService()
public DefaultOAuth2TokenKeyService(@Nonnull org.apache.http.impl.client.CloseableHttpClient httpClient)
public String retrieveTokenKeys(URI tokenKeysEndpointUri) throws OAuth2ServiceException
OAuth2TokenKeyServiceretrieveTokenKeys in interface OAuth2TokenKeyServicetokenKeysEndpointUri - the token endpoint URI (jku).OAuth2ServiceException - in case of an error during the http request.Copyright © 2020. All rights reserved.