Interface IdentityPoolSubjectTokenSupplier (1.27.0)

public interface IdentityPoolSubjectTokenSupplier extends Serializable

Implements

Serializable

Methods

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 ExternalAccountSupplierContext

relevant context from the calling credential.

Returns
Type Description
String

a valid subject token.

Exceptions
Type Description
IOException