Interface GoogleCredentialsAccountIdAccessor
- 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 credentials authentication.
Implementations are used by
GcpIamCredentialsAuthentication
.- Since:
- 2.3.2
- Author:
- Andreas Gebauer
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetServiceAccountId
(com.google.auth.oauth2.GoogleCredentials credentials) Get a the service account id (email) to be placed in the signed JWT.
-
Method Details
-
getServiceAccountId
Get a the service account id (email) to be placed in the signed JWT.- Parameters:
credentials
- credential object to obtain the service account id from.- Returns:
- the service account id to use.
-