Package | Description |
---|---|
com.google.api.client.auth.openidconnect |
Modifier and Type | Method and Description |
---|---|
IdTokenVerifier.Builder |
IdTokenVerifier.Builder.setAcceptableTimeSkewSeconds(long acceptableTimeSkewSeconds)
Sets the seconds of time skew to accept when verifying time (default is
IdTokenVerifier.DEFAULT_TIME_SKEW_SECONDS ). |
IdTokenVerifier.Builder |
IdTokenVerifier.Builder.setAudience(Collection<String> audience)
Sets the list of trusted audience client IDs or
null to suppress the audience check. |
IdTokenVerifier.Builder |
IdTokenVerifier.Builder.setCertificatesLocation(String certificatesLocation)
Overrides the location URL that contains published public keys.
|
IdTokenVerifier.Builder |
IdTokenVerifier.Builder.setClock(Clock clock)
Sets the clock.
|
IdTokenVerifier.Builder |
IdTokenVerifier.Builder.setHttpTransportFactory(HttpTransportFactory httpTransportFactory)
Sets the HttpTransportFactory used for requesting public keys from the certificate URL.
|
IdTokenVerifier.Builder |
IdTokenVerifier.Builder.setIssuer(String issuer)
Sets the expected issuer or
null to suppress the issuer check. |
IdTokenVerifier.Builder |
IdTokenVerifier.Builder.setIssuers(Collection<String> issuers)
Sets the list of equivalent expected issuers or
null to suppress the issuer check. |
Constructor and Description |
---|
IdTokenVerifier(IdTokenVerifier.Builder builder) |
Copyright © 2011–2022 Google. All rights reserved.