Package com.google.auth.oauth2
Interface IdentityPoolSubjectTokenSupplier
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
FileIdentityPoolSubjectTokenSupplier
,UrlIdentityPoolSubjectTokenSupplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionGets a subject token that can be exchanged for a GCP access token.
-
Method Details
-
getSubjectToken
Gets a subject token that can be exchanged for a GCP access token.- Parameters:
context
- relevant context from the calling credential.- Returns:
- a valid subject token.
- Throws:
IOException
-