public class SpringOidcConfigurationService extends Object implements OidcConfigurationService
DISCOVERY_ENDPOINT_DEFAULT| Constructor and Description |
|---|
SpringOidcConfigurationService(org.springframework.web.client.RestOperations restOperations) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2ServiceEndpointsProvider |
retrieveEndpoints(URI discoveryEndpointUri)
Requests an OpenID Provider Configuration Document from OAuth Server.
|
public SpringOidcConfigurationService(@Nonnull org.springframework.web.client.RestOperations restOperations)
public OAuth2ServiceEndpointsProvider retrieveEndpoints(@Nonnull URI discoveryEndpointUri) throws OAuth2ServiceException
OidcConfigurationServiceretrieveEndpoints in interface OidcConfigurationServicediscoveryEndpointUri - the discovery endpoint URI.OAuth2ServiceException - in case of an error during the http request.Copyright © 2020. All rights reserved.