public class UrlJwkProvider extends Object implements JwkProvider
URL| Constructor and Description |
|---|
UrlJwkProvider(String domain)
Creates a provider that loads from the given domain's well-known directory
|
UrlJwkProvider(URL url)
Creates a provider that loads from a given URL
|
public UrlJwkProvider(URL url)
url - to load the jwkspublic UrlJwkProvider(String domain)
domain - domain where to look for the jwks.json filepublic Jwk get(String keyId) throws JwkException
JwkProviderget in interface JwkProviderkeyId - value of kid found in JWTSigningKeyNotFoundException - if no jwk can be found using the give kidJwkExceptionCopyright © 2016. All Rights Reserved.