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