This is a list of items we want to change / remove in the next major release
Remove all instances of getLastReceivedToken
Remove all instances of tokenCallback
The constructor of IAM should not contain $httpHandler - this should be passed in at runtime
Consider removing IAM in favor of using IamTrait in the credentials which use it.
Remove FetchAuthTokenCache in favor of CacheTrait
Consider adding $headers as second argument to FetchAuthTokenIterface::fetchAuthToken, or consolidate everything to use updateMetadata
Consider consolidating FetchAuthTokenInterface, UpdateMetadataInterface, ProjectIdProviderInterface, GetQuotaProjectInterface, and GetUniverseDomainInterface into a CredentialInterface.
Consider removing HttpClientCache, as $httpHandler can already be passed in everywhere
This is a list of items we want to change / remove in the next major release
getLastReceivedToken
tokenCallback
IAM
should not contain$httpHandler
- this should be passed in at runtimeIAM
in favor of usingIamTrait
in the credentials which use it.FetchAuthTokenCache
in favor ofCacheTrait
$headers
as second argument toFetchAuthTokenIterface::fetchAuthToken
, or consolidate everything to useupdateMetadata
FetchAuthTokenInterface
,UpdateMetadataInterface
,ProjectIdProviderInterface
,GetQuotaProjectInterface
, andGetUniverseDomainInterface
into aCredentialInterface
.HttpClientCache
, as$httpHandler
can already be passed in everywhereGuzzle6HttpHandler
IAMCredentials