public interface IdentityPoolSubjectTokenSupplier extends SerializableImplements
SerializableMethods
getSubjectToken(ExternalAccountSupplierContext context)
public abstract String getSubjectToken(ExternalAccountSupplierContext context)Gets a subject token that can be exchanged for a GCP access token.
| Parameter | |
|---|---|
| Name | Description |
context |
ExternalAccountSupplierContextrelevant context from the calling credential. |
| Returns | |
|---|---|
| Type | Description |
String |
a valid subject token. |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|