Package | Description |
---|---|
com.google.auth.oauth2 |
Modifier and Type | Method and Description |
---|---|
static TokenVerifier.Builder |
TokenVerifier.newBuilder() |
TokenVerifier.Builder |
TokenVerifier.Builder.setAudience(String audience)
Set a target audience to verify.
|
TokenVerifier.Builder |
TokenVerifier.Builder.setCertificatesLocation(String certificatesLocation)
Override the location URL that contains published public keys.
|
TokenVerifier.Builder |
TokenVerifier.Builder.setClock(com.google.api.client.util.Clock clock)
Set the clock for checking token expiry.
|
TokenVerifier.Builder |
TokenVerifier.Builder.setHttpTransportFactory(HttpTransportFactory httpTransportFactory)
Set the HttpTransportFactory used for requesting public keys from the certificate URL.
|
TokenVerifier.Builder |
TokenVerifier.Builder.setIssuer(String issuer)
Set the issuer to verify.
|
TokenVerifier.Builder |
TokenVerifier.Builder.setPublicKey(PublicKey publicKey)
Set the PublicKey for verifying the signature.
|
Copyright © 2023 Google. All rights reserved.