@FunctionalInterface public interface GcpCredentialSupplier extends Supplier<com.google.api.client.googleapis.auth.oauth2.GoogleCredential>
GoogleCredential for GCP IAM authentication.
Implementations are used by GcpIamAuthentication.GcpIamAuthentication| Modifier and Type | Method and Description |
|---|---|
default com.google.api.client.googleapis.auth.oauth2.GoogleCredential |
get()
Exception-safe helper to get
GoogleCredential from getCredential(). |
com.google.api.client.googleapis.auth.oauth2.GoogleCredential |
getCredential()
Get a
GoogleCredential for GCP IAM authentication via JWT signing. |
default com.google.api.client.googleapis.auth.oauth2.GoogleCredential get()
GoogleCredential from getCredential().com.google.api.client.googleapis.auth.oauth2.GoogleCredential getCredential()
throws IOException
GoogleCredential for GCP IAM authentication via JWT signing.GoogleCredential.IOException - if the credential lookup fails.Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.