Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Auth Laravel Package

google/auth

Official Google Auth library for PHP. Implements OAuth 2.0 and Application Default Credentials (ADC) for authenticating to Google APIs and Google Cloud. Install via Composer and use with HTTP clients like Guzzle to authorize API calls.

View on GitHub
Deep Wiki
Context7
1.9.0
  • [feat] Add quotaProject param for extensible client options support (#277)
  • [feat] Add signingKeyId param for jwt signing (#270)
  • [docs] Misc documentation improvements (#268, #278, #273)
  • [chore] Switch from Travis to Github Actions (#273)
1.8.0
  • [feat] Add option to throw exception in AccessToken::verify(). (#265)
  • [feat] Add support for x-goog-user-project. (#254)
  • [feat] Add option to specify issuer in AccessToken::verify(). (#267)
  • [feat] Add getProjectId to credentials types where project IDs can be determined. (#230)
1.7.1
  • [fix] Invalid character in iap cert cache key (#263)
  • [fix] Typo in exception for package name (#262)
1.7.0
  • [feat] Add ID token to auth token methods. (#248)
  • [feat] Add support for ES256 in AccessToken::verify. (#255)
  • [fix] Let namespace match the file structure. (#258)
  • [fix] Construct RuntimeException. (#257)
  • [tests] Update tests for PHP 7.4 compatibility. (#253)
  • [chore] Add a couple more things to .gitattributes. (#252)
1.6.1
  • [fix] Handle DST correctly for cache item expirations. (#246)
1.6.0
  • [feat] Add utility for verifying and revoking access tokens. (#243)
  • [docs] Fix README console terminology. (#242)
  • [feat] Support custom scopes with GCECredentials. (#239)
  • [fix] Fix phpseclib existence check. (#237)
1.50.1

Bug Fixes

  • ImpersonatedCredentials getLastReceivedToken returns correct token (#655) (a4fe69c)
  • Support psr/log 2 (#654) (4b746b8)
1.50.0

Features

1.5.2
  • [fix] Move loadItems call out of SysVCacheItemPool constructor. (#229)
  • [fix] Add Metadata-Flavor header to initial GCE metadata call. (#232)
1.5.1
  • [fix] Moved getClientName() from Google\Auth\FetchAuthTokenInterface to Google\Auth\SignBlobInterface, and removed getClientName() from InsecureCredentials and UserRefreshCredentials. (#223)
1.5.0

Changes

  • Add support for signing strings with a Credentials instance. (#221)
  • [Docs] Describe the arrays returned by fetchAuthToken. (#216)
  • [Testing] Fix failing tests (#217)
  • Update GitHub issue templates (#214, #213)
1.49.0

Features

  • Add semaphore locking to Sysv cache (#640) (38ea069)
  • Json key scopes in ImpersonatedServiceAccountCredentials (#638) (b6b6966)

Bug Fixes

1.48.1

Bug Fixes

  • Remove deprecated Item class for the CacheItemPool (#631) (7ec42c6)
1.48.0

Features

Bug Fixes

  • Deprecate Credentials::makeCredentials (#624) (12bb6e8)
1.47.1

Bug Fixes

  • Undefined index error in cache trait (#617) (ff7ece6)
1.47.0

Features

  • Add support for $_ENV in CredentialsLoader (#612) (3e63576)
1.46.0

Features

  • Add support for Impersonating ID Tokens (#580) (66db27c)
1.45.4

Bug Fixes

  • Return impersonated token as lastReceivedToken (#606) (33c3c85)
1.45.3

Documentation

  • fix broken reference (#602)
1.45.2

Bug Fixes

  • Minor changes to allow for refdoc regeneration (#600) (608115c)
1.45.0

Features

1.44.0

Features

  • Add service account impersonation for access tokens (#586) (ba137b2)

Bug Fixes

  • Add support for php 8.4, remove implicit nullable (#591) (3e1061b)
1.43.0

Features

  • Add ID tokens for user refresh credentials (#468) (1601efc)
  • Call IamCredentials endpoint for generating ID tokens outside GDU (#581) (2d7d03d)

Bug Fixes

1.42.0

Features

1.41.0

Features

  • Change getCacheKey implementation for more unique keys (#560) (a35c4db)
1.40.0

Features

1.4.0

Changes

  • Add support for insecure credentials (#208)
1.39.0

Features

1.38.0

Features

1.37.1

Bug Fixes

  • Use gmdate to format x-amz-date with UTC irrespective of timezone (#540) (3031d2c)
1.37.0

Features

1.36.0

Features

1.35.0

Features

  • Add expires_in and token_type to tokens from ServiceAccountJwtAccessCredentials (#513) (ee2436d)
  • Workforce credentials (#485) (c1b240f)

Bug Fixes

1.34.0

Features

  • Respect sub for domain-wide delegation in service account creds (#505) (821d4f3)
  • Support universe domain in service account and metadata credentials (#482) (e4aa874)

Bug Fixes

1.33.0

Features

  • Add and implement universe domain interface (#477) (35781ed)

Miscellaneous

  • Refactor AuthTokenMiddleware (#492)
1.32.1

Bug Fixes

  • Allowed_algs not properly set for string value (#489) (0042b52)
1.32.0

Features

  • Respect cache control for access token certs (#479) (6d426b5)
1.31.0

Features

1.30.0

Features

1.3.3

Changes

  • Add retry and increase timeout for GCE credentials (#195)
  • [Docs] Fix spelling (#204)
  • Update token url (#206)
1.3.2

Changes

  • Only emits a warning for gcloud credentials (#202)
1.3.1

Changes

  • Added a warning for 3 legged OAuth credentials (#199)
  • [Code cleanup] Removed useless else after return (#193)
1.3.0

Changes

  • Fixes usage of deprecated env var for GAE Flex (#189)
  • fix - guzzlehttp/psr7 dependency version definition (#190)
  • Added SystemV shared memory based CacheItemPool (#191)
1.29.1

Bug Fixes

  • Use PKCS8 by default for ID token verify (#466) (0c3a1be)
1.29.0

Features

  • Check unix residency for gce when ping fails (#469) (3c672f9)
1.28.0

Features

1.27.0

Features

  • deps: Add support for psr/http-message 2.0 (#449) (bc71f90)
1.26.0

Features

1.25.0

Features

  • Add getFetcher to FetchAuthTokenCache (#431) (cf7ac54)
1.24.0

Features

  • Add ImpersonatedServiceAccountCredentials (#421) (de766e9)
1.23.1

Bug Fixes

  • Do not call GCECredentials::onGCE if ADC has already checked (#422) (085cc64)
1.23.0

Features

  • Double default truncateAt for guzzle error output (#415) (e2f6a89)
1.21.0
  • [feat]: add support for Firebase v6.0 (#391)
1.20.0
  • [feat]: add support for psr/cache:3 (#364)
  • Dropped Support for PHP 5.6 and 7.0
1.2.1

Changes

  • Fixes array merging bug in Guzzle5HttpHandler (#186)
  • Fixes constructor argument bug in Subscriber & Middleware (#184)
1.2.0

Changes

  • Adds async method to HTTP handlers (#176)
  • Misc bug fixes and improvements (#177, #175, #178)
1.19.0
  • Dropped support for:
    • PHP 5.4 and 5.5
    • Guzzle 5
    • Firebase JWT 2.0, 3.0, and 4.0
1.18.0
  • [feat]: Add support for guzzlehttp/psr7 v2 (#357)
1.17.0
  • [fix]: consistently use useSelfSignedJwt method in ServiceAccountJwtAccessCredentials (#351)
  • [feat]: add loading and executing of default client cert source (#353)
  • [feat]: add support for proxy-authorization header (#347)
1.16.0
  • [feat]: allow ServiceAccountJwtAccessCredentials to sign scopes (#341)
  • [feat]: allow psr/cache:2.0 (#344)
1.15.2
  • [fix]: ensure cached tokens are used for GCECredentials::signBlob (#340)
  • [fix]: adds check for getClientName (#336)
1.15.1
  • [fix]: update minimum phpseclib for vulnerability fix (#331)
1.15.0
  • [feat]: support for PHP 8.0: updated dependencies and tests (#318, #319)
1.14.3
  • [fix]: add expires_at to GCECredentials (#314)
1.14.2
  • [fix]: Better FetchAuthTokenCache and getLastReceivedToken (#311)
1.14.1
  • [fix]: variable typo (#310)
1.14.0
  • [feat]: Add support for default scopes (#306)
1.13.0
  • [feat]: Add service account identity support to GCECredentials (#304)
1.12.0
  • [feat]: Add QuotaProject option to getMiddleware (#296)
  • [feat]: Add caching for calls to GCECredentials::onGce (#301)
  • [feat]: Add updateMetadata function to token cache (#298)
  • [fix]: Use quota_project_id instead of quota_project (#299)
1.11.1
  • [fix]: catch ConnectException in GCE check (#294)
  • [docs]: Adds reference docs
1.11.0
  • [feat]: Check cache expiration (#291)
  • [fix]: OAuth2 cache key when audience is set (#291)
1.10.0
  • [feat]: Add support for Guzzle 7 (#256)
  • [fix]: Remove SDK warning (#283)
  • [chore]: Switch to github pages deploy action (#284)
1.1.0

Changes

  • Supports additional claims in JWT tokens (#171)
  • Adds makeHttpClient for creating authorized Guzzle clients (#162)
  • Misc bug fixes/improvements (#168, #161, #167, #170, #143)
1.0.1

Changes

  • Adds support for Firebase 5.0 (#159)
1.0.0

Changes

  • Adds hashing and shortening to enforce max key length ([@bshaffer])
  • Fix for better PSR-6 compliance - verifies a hit before getting the cache item ([@bshaffer])
  • README fixes ([@bshaffer])
  • Change authorization header key to lowercase ([@stanley-cheung])
0.4.0

Changes

[@bshaffer]: https://github.com/bshaffer [@stanley-cheung]: https://github.com/stanley-cheung

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport