Send feedback
Class GoogleIdTokenVerifier.Builder (2.1.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.1 keyboard_arrow_down
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 )
Parameter
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 ()
Returns
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.
Returns
getPublicCertsEncodedUrl() (deprecated)
public final String getPublicCertsEncodedUrl ()
Returns
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
Returns
Overrides
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setAcceptableTimeSkewSeconds(long)
setAudience(Collection<String> audience)
public GoogleIdTokenVerifier . Builder setAudience ( Collection<String> audience )
Parameter
Returns
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
Returns
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
Returns
Overrides
com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder.setIssuer(java.lang.String)
setIssuers(Collection<String> issuers)
public GoogleIdTokenVerifier . Builder setIssuers ( Collection<String> issuers )
Parameter
Returns
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
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]