public class DefaultKeyUriSupplier extends java.lang.Object implements KeyUriSupplier
KeyUriSupplier.| Constructor and Description |
|---|
DefaultKeyUriSupplier(com.google.api.client.http.HttpRequestFactory httpRequestFactory,
java.util.Map<java.lang.String,IssuerKeyUrlConfig> issuerKeyUrls)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<com.google.api.client.http.GenericUrl> |
supply(java.lang.String issuer) |
public DefaultKeyUriSupplier(com.google.api.client.http.HttpRequestFactory httpRequestFactory,
java.util.Map<java.lang.String,IssuerKeyUrlConfig> issuerKeyUrls)
httpRequestFactory - is the factory used to make HTTP requests.issuerKeyUrls - is the configurations that map an issuer to the verification key URL.public com.google.common.base.Optional<com.google.api.client.http.GenericUrl> supply(java.lang.String issuer)
supply in interface KeyUriSupplier