@Beta public static class GooglePublicKeysManager.Builder extends Object
Constructor and Description |
---|
Builder(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory)
Returns an instance of a new builder.
|
Modifier and Type | Method and Description |
---|---|
GooglePublicKeysManager |
build()
Builds a new instance of
GooglePublicKeysManager . |
com.google.api.client.util.Clock |
getClock()
Returns the clock.
|
com.google.api.client.json.JsonFactory |
getJsonFactory()
Returns the JSON factory.
|
String |
getPublicCertsEncodedUrl()
Returns the public certificates encoded URL.
|
com.google.api.client.http.HttpTransport |
getTransport()
Returns the HTTP transport.
|
GooglePublicKeysManager.Builder |
setClock(com.google.api.client.util.Clock clock)
Sets the clock.
|
GooglePublicKeysManager.Builder |
setPublicCertsEncodedUrl(String publicCertsEncodedUrl)
Sets the public certificates encoded URL.
|
public Builder(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory)
transport
- HTTP transportjsonFactory
- JSON factorypublic GooglePublicKeysManager build()
GooglePublicKeysManager
.public final com.google.api.client.http.HttpTransport getTransport()
public final com.google.api.client.json.JsonFactory getJsonFactory()
public final String getPublicCertsEncodedUrl()
public GooglePublicKeysManager.Builder setPublicCertsEncodedUrl(String publicCertsEncodedUrl)
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.
public final com.google.api.client.util.Clock getClock()
public GooglePublicKeysManager.Builder setClock(com.google.api.client.util.Clock clock)
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
Copyright © 2010–2019 Google. All rights reserved.