| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DISCOVERY_PATH
The path where the OpenID providers configuration can be discovered from.
|
| Constructor and Description |
|---|
OpenIdProviderDiscoveryKeySource(java.lang.String issuerUrl,
javax.ws.rs.client.Client client,
java.lang.String requiredIssuer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.util.List<LoadedPublicKey> |
loadKeysFromSource()
Loads the keys provided by this source.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitreloadKeysFromSourcepublic static final java.lang.String DISCOVERY_PATH
public OpenIdProviderDiscoveryKeySource(java.lang.String issuerUrl,
javax.ws.rs.client.Client client,
java.lang.String requiredIssuer)
issuerUrl - the url of the issuer without the DISCOVERY_PATH, e.g. http://keycloak.example.com/auth/realms/my-realmclient - the client used to execute the discovery request, may be created from the
application Environment using JerseyClientBuilderrequiredIssuer - the required value of the issuer claim of the token in conjunction to the
current keypublic java.util.List<LoadedPublicKey> loadKeysFromSource()
KeySourceloadKeysFromSource in interface KeySourcepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object