public static class GoogleIdTokenVerifier.Builder extends IdTokenVerifier.Builder
Inheritance
java.lang.Object >
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder >
GoogleIdTokenVerifier.Builder
Inherited Members
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.build()
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.getAcceptableTimeSkewSeconds()
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.getAudience()
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.getClock()
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.getIssuer()
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.getIssuers()
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setAcceptableTimeSkewSeconds(long)
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setAudience(java.util.Collection<java.lang.String>)
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setCertificatesLocation(java.lang.String)
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setClock(com.google.api.client.util.Clock)
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setHttpTransportFactory(com.google.api.client.auth.openidconnect.HttpTransportFactory)
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setIssuer(java.lang.String)
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setIssuers(java.util.Collection<java.lang.String>)
Constructors
Builder(GooglePublicKeysManager publicKeys)
public Builder(GooglePublicKeysManager publicKeys)
Builder(HttpTransport transport, JsonFactory jsonFactory)
public Builder(HttpTransport transport, JsonFactory jsonFactory)
Parameters |
Name |
Description |
transport |
com.google.api.client.http.HttpTransport
HTTP transport
|
jsonFactory |
com.google.api.client.json.JsonFactory
JSON factory
|
Methods
build()
public GoogleIdTokenVerifier build()
Overrides
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.build()
getJsonFactory()
public final JsonFactory getJsonFactory()
Returns the JSON factory.
Returns |
Type |
Description |
com.google.api.client.json.JsonFactory |
|
getPublicCerts()
public final GooglePublicKeysManager getPublicCerts()
Returns the Google public keys manager.
getPublicCertsEncodedUrl() (deprecated)
public final String getPublicCertsEncodedUrl()
Returns |
Type |
Description |
String |
|
getTransport()
public final HttpTransport getTransport()
Returns the HTTP transport.
Returns |
Type |
Description |
com.google.api.client.http.HttpTransport |
|
setAcceptableTimeSkewSeconds(long acceptableTimeSkewSeconds)
public GoogleIdTokenVerifier.Builder setAcceptableTimeSkewSeconds(long acceptableTimeSkewSeconds)
Parameter |
Name |
Description |
acceptableTimeSkewSeconds |
long
|
Overrides
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setAcceptableTimeSkewSeconds(long)
setAudience(Collection<String> audience)
public GoogleIdTokenVerifier.Builder setAudience(Collection<String> audience)
Overrides
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setAudience(java.util.Collection<java.lang.String>)
setClock(Clock clock)
public GoogleIdTokenVerifier.Builder setClock(Clock clock)
Parameter |
Name |
Description |
clock |
com.google.api.client.util.Clock
|
Overrides
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setClock(com.google.api.client.util.Clock)
setIssuer(String issuer)
public GoogleIdTokenVerifier.Builder setIssuer(String issuer)
Parameter |
Name |
Description |
issuer |
String
|
Overrides
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setIssuer(java.lang.String)
setIssuers(Collection<String> issuers)
public GoogleIdTokenVerifier.Builder setIssuers(Collection<String> issuers)
Overrides
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setIssuers(java.util.Collection<java.lang.String>)
setPublicCertsEncodedUrl(String publicKeysEncodedUrl) (deprecated)
public GoogleIdTokenVerifier.Builder setPublicCertsEncodedUrl(String publicKeysEncodedUrl)
Parameter |
Name |
Description |
publicKeysEncodedUrl |
String
|