Interface GcpServiceAccountIdAccessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to obtain a service account id for GCP IAM authentication. Implementations
are used by
GcpIamAuthentication
.- Since:
- 2.1
- Author:
- Magnus Jungsbluth
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetServiceAccountId
(com.google.api.client.googleapis.auth.oauth2.GoogleCredential credential) Get a the service account id (email) to be placed in the signed JWT.
-
Method Details
-
getServiceAccountId
String getServiceAccountId(com.google.api.client.googleapis.auth.oauth2.GoogleCredential credential) Get a the service account id (email) to be placed in the signed JWT.- Parameters:
credential
- credential object to obtain the service account id from.- Returns:
- the service account id to use.
-