| Package | Description |
|---|---|
| org.forgerock.jaspi.modules.openid.helpers |
This package contains util classes used in the generation and
processing of Open ID Connect authentication verification resolvers.
|
| org.forgerock.jaspi.modules.openid.resolvers |
This package contains classes to generate Open ID Resolvers, which can
validate a supplied JWS against an Open ID Connect provider.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Key> |
JWKSetParser.generateMapFromJWK(URL url)
Provides a Map of KeyId:Keys as indicated by the JWKSet's URL.
|
Map<String,Key> |
JWKSetParser.jwkSetToMap(org.forgerock.json.jose.jwk.JWKSet jwkSet)
Converts a supplied JWKSet into a map of key:values, where the keys are the keyIds and the
values are verification keys.
|
Key |
JWKLookup.lookup(String json,
org.forgerock.json.jose.jwk.KeyType keyType)
Lookup returns the key from the given json, under the assumption it's of the correct
keyType.
|
| Modifier and Type | Method and Description |
|---|---|
JWKOpenIdResolverImpl |
WellKnownOpenIdConfigurationFactory.build(URL configUrl)
Returns a JWKOpenIdResolverImpl representing the contents of the supplied URL.
|
OpenIdResolver |
OpenIdResolverFactory.createFromOpenIDConfigUrl(URL configUrl)
Creates a public key resolver for the supplied issuer using keys supplied
at the .well-known open ID configuration URL.
|
OpenIdResolver |
OpenIdResolverFactory.createJWKResolver(String issuer,
URL jwkUrl,
int readTimeout,
int connTimeout)
Creates a public key resolver for the supplied issuer using
keys supplied at the JWK Set URL.
|
void |
JWKOpenIdResolverImpl.verifySignature(org.forgerock.json.jose.jws.SignedJwt idClaim)
Verifies that the JWS was signed by the supplied key.
|
| Constructor and Description |
|---|
JWKOpenIdResolverImpl(String issuer,
URL jwkUrl,
int readTimeout,
int connTimeout)
Constructor using provided timeout values to generate the
SimpleHTTPClient used for communicating over HTTP. |
JWKOpenIdResolverImpl(String issuer,
URL jwkUrl,
SimpleHTTPClient httpClient)
Constructor using an already-created
SimpleHTTPClient. |
Copyright © 2016 ForgeRock AS. All Rights Reserved.