|
10Duke Java Core
|
Basic implementation for requesting an authorization server's /.well-known/openid-configuration endpoint and parsing the response into a Java object.
Public Member Functions | |
| OpenIdConfiguration | requestOpenIdConfiguration () throws IOException |
Makes a HTTP request to load OpenID Provider Configuration from the URL provided by AuthConfig#idpOidcDiscoveryUrl(). | |
Protected Member Functions | |
| OpenIdConfiguration | parseResponse (final Response response) throws IOException |
Parses a OkHttp response as JSON mapping to OpenIdConfiguration. | |
|
protected |
Parses a OkHttp response as JSON mapping to OpenIdConfiguration.
| response | The response object that is used to read the response code and body. |
OpenIdConfiguration.| IOException | For IO errors during request / response handling. |
| OpenIdConfiguration tenduke.sdk.core.auth.OpenIdConfigurationClient.requestOpenIdConfiguration | ( | ) | throws IOException |
Makes a HTTP request to load OpenID Provider Configuration from the URL provided by AuthConfig#idpOidcDiscoveryUrl().
| IOException | For IO errors during request / response handling. |