public static class GooglePublicKeysManager.BuilderConstructors
Builder(HttpTransport transport, JsonFactory jsonFactory)
public Builder(HttpTransport transport, JsonFactory jsonFactory)Returns an instance of a new builder.
| Name | Description |
| transport | com.google.api.client.http.HttpTransportHTTP transport |
| jsonFactory | com.google.api.client.json.JsonFactoryJSON factory |
Methods
build()
public GooglePublicKeysManager build()Builds a new instance of GooglePublicKeysManager.
| Type | Description |
| GooglePublicKeysManager |
getClock()
public final Clock getClock()Returns the clock.
| Type | Description |
| com.google.api.client.util.Clock |
getJsonFactory()
public final JsonFactory getJsonFactory()Returns the JSON factory.
| Type | Description |
| com.google.api.client.json.JsonFactory |
getPublicCertsEncodedUrl()
public final String getPublicCertsEncodedUrl()Returns the public certificates encoded URL.
| Type | Description |
| String |
getTransport()
public final HttpTransport getTransport()Returns the HTTP transport.
| Type | Description |
| com.google.api.client.http.HttpTransport |
setClock(Clock clock)
public GooglePublicKeysManager.Builder setClock(Clock clock)Sets the clock.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
| Name | Description |
| clock | com.google.api.client.util.Clock |
| Type | Description |
| GooglePublicKeysManager.Builder |
setPublicCertsEncodedUrl(String publicCertsEncodedUrl)
public GooglePublicKeysManager.Builder setPublicCertsEncodedUrl(String publicCertsEncodedUrl)Sets the public certificates encoded URL.
The default value is GoogleOAuthConstants#DEFAULT_PUBLIC_CERTS_ENCODED_URL.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
| Name | Description |
| publicCertsEncodedUrl | String |
| Type | Description |
| GooglePublicKeysManager.Builder |