Skip to content

[Auth]: Features to remove for V2 #9675

Description

@Hectorhammett

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
  • Remove Guzzle6HttpHandler
  • Remove IAMCredentials
  • Move to Firebase JWT for token validation (feat: use Firebase JWT for token verification google-auth-library-php#554)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions