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)
Requests token web key set from OAuth Server.
|
public SpringOAuth2TokenKeyService(@Nonnull org.springframework.web.client.RestOperations restOperations)
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.