Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
579 commits
Select commit Hold shift + click to select a range
0a05791
feat: adds caching for call to ::onGce (#301)
bshaffer Sep 3, 2020
20211d5
feat: add updateMetadata func to token cache (#298)
bshaffer Sep 5, 2020
b3407c4
chore: update CHANGELOG for v1.12.0 (#300)
bshaffer Sep 8, 2020
74cad28
docs: add PR number to CHANGELOG (#302)
bshaffer Sep 8, 2020
142d1d7
feat: add service account identity support to GCECredentials (#304)
bshaffer Sep 15, 2020
6d4d883
docs: make ref docs more visible (#305)
bshaffer Sep 16, 2020
173191f
chore: prepare v1.13.0 (#307)
bshaffer Sep 18, 2020
9ccaea6
feat: add difference between default and user-defined scope (#306)
bshaffer Sep 23, 2020
95c23eb
chore: prepare v1.14.0 (#309)
bshaffer Oct 2, 2020
680da3e
fix: variable typo (#310)
bshaffer Oct 5, 2020
2df57c6
chore: prepare v1.14.1 (#312)
bshaffer Oct 6, 2020
4f1d138
fix: better FetchAuthTokenCache and getLastReceivedToken (#311)
bshaffer Oct 14, 2020
9d82b20
chore: prepare v1.14.2 (#313)
bshaffer Oct 14, 2020
d47f035
fix: add expires_at to GCECredentials (#314)
bshaffer Oct 16, 2020
c150329
chore: prepare v1.14.3 (#315)
bshaffer Oct 16, 2020
d68582a
chore: updates for php8 (#318)
bshaffer Feb 2, 2021
f55687f
chore: fix PHP 8.0 unit test (#319)
bshaffer Feb 5, 2021
c55279b
chore: fix docs gen (#321)
bshaffer Feb 5, 2021
b346c07
chore: prepare v1.15.0 (#320)
bshaffer Feb 5, 2021
6dbe64a
Show how to use a specific JSON key. (#324)
imdhemy Mar 8, 2021
abf8779
chore: add guzzle client import to README (#327)
bshaffer Apr 16, 2021
68acb64
fix: update minimum phpseclib for vulnerability fix (#331)
bshaffer Apr 21, 2021
4e0c936
chore: prepare v1.15.1 (#332)
bshaffer Apr 21, 2021
0847f80
chore: add SECURITY.md (#333)
google-cloud-policy-bot[bot] May 25, 2021
b56962b
chore: add SECURITY.md (#333)
google-cloud-policy-bot[bot] May 25, 2021
2fded88
chore(deps): add renovate.json (#235)
renovate-bot May 25, 2021
f445f56
fix: adds check for getClientName (#336)
bshaffer May 25, 2021
bf56e25
chore: ignore pinning deps in renovate.json (#339)
bshaffer Jun 10, 2021
ef4cff4
fix: ensure cached tokens are used for GCECredentials::signBlob (#340)
bshaffer Jun 21, 2021
b0aa588
chore: prepare v1.15.2 (#343)
bshaffer Jun 22, 2021
455332f
feat: allow psr/cache:2.0 (#344)
RafaSRibeiro Jun 22, 2021
866e497
feat: allow ServiceAccountJwtAccessCredentials to sign scopes (#341)
bshaffer Jun 22, 2021
c747738
chore: prepare v1.16.0 (#348)
bshaffer Jun 22, 2021
aaf2363
feat: add support for proxy-authorization header (#347)
gabihodoroaga Jun 25, 2021
2b1e04a
fix: consistently use useSelfSignedJwt method (#351)
bshaffer Jun 29, 2021
6cc1ae5
chore(tests): adds one more test for proxy auth (#349)
bshaffer Jun 30, 2021
4e026cb
chore: switch cs fixers (#350)
bshaffer Jun 30, 2021
f3f0df8
chore: add CODEOWNERS (#355)
JustinBeckwith Aug 2, 2021
930be8f
feat: add loading and executing of default client cert source (#353)
bshaffer Aug 17, 2021
4da3a85
chore: prepare v1.17.0 (#356)
bshaffer Aug 18, 2021
2eff47e
feat: Adding support for guzzlehttp/psr7 v2 (#357)
saranshdhingra Aug 24, 2021
21dd478
chore: prepare v1.18.0 (#358)
bshaffer Aug 24, 2021
0506b75
chore: switch master to main (#367)
bshaffer Dec 2, 2021
9472fa8
fix: ubuntu version for docs gen (#368)
bshaffer Dec 2, 2021
26781dc
chore: add explicit return types to address symfony deprecations (#375)
Feb 18, 2022
e51054a
chore(deps): update nick-invision/retry action to v2 (#380)
renovate-bot Mar 23, 2022
fb8f881
chore(deps): update actions/checkout action to v3 (#378)
renovate-bot Mar 23, 2022
888ee55
chore: drop support for php 5.4 and php 5.5 (#345)
bshaffer Mar 24, 2022
31e5d24
chore: remove support for previous firebase namespace (#382)
bshaffer Mar 24, 2022
8bc1431
chore: update gitattributes (#389)
PaolaRuby Apr 4, 2022
600e87a
chore: update CHANGELOG
bshaffer Apr 5, 2022
b0a2392
fix: throw audience mismatch when audience doesn't exist (#370)
bshaffer Apr 6, 2022
321e5b6
feat: add TypedItem to allow for psr/cache:3 (#364)
bshaffer Apr 11, 2022
3a1a5c5
chore: add phpstan level 7 (#392)
bshaffer Apr 12, 2022
73392ba
feat!: allow firebase/php-jwt v6 (#391)
bshaffer Apr 13, 2022
19d9729
chore: add cs rule to enforce short array syntax (#395)
bshaffer Apr 22, 2022
5cbf5ac
chore: export-ignore phpstan.neon, add single_quote to cs (#396)
bshaffer Apr 26, 2022
5b18956
fix: ensure result of fetchAuthToken is an array (#401)
bshaffer May 16, 2022
d96d3e1
fix: firebase jwt decode for 5.5+ (#402)
bshaffer May 16, 2022
aa3b9ca
chore: update changelog
bshaffer May 16, 2022
4a59125
fix: remove catching non-existent class (#407)
bshaffer Jul 12, 2022
45a22aa
feat: CredentialsLoader::updateMetadata now supports id_token (#405)
Jeanno Jul 12, 2022
deab935
chore: better phpdoc for cache items (#409)
bshaffer Aug 10, 2022
da4037d
fix: add eager refresh (#411)
bshaffer Sep 1, 2022
e2f6a89
feat: double default truncateAt for guzzle error output (#415)
bshaffer Sep 26, 2022
4e892bb
chore(deps): update actions/checkout action to v3 (#414)
renovate-bot Sep 26, 2022
5b4d801
chore: add release-please to manage releases (#418)
bshaffer Sep 26, 2022
8da1610
chore(main): release 1.23.0 (#420)
release-please[bot] Sep 27, 2022
085cc64
fix: do not call GCECredentials::onGCE if ADC has already checked (#422)
bshaffer Oct 25, 2022
cb43cb8
chore(main): release 1.23.1 (#423)
release-please[bot] Oct 26, 2022
cfdc9b6
chore: remove phpstan ignore (#424)
bshaffer Nov 4, 2022
b26bb5b
chore(deps): update dependency phpspec/prophecy-phpunit to v2 (#417)
renovate-bot Nov 4, 2022
d3726fe
chore(deps): update dependency phpunit/phpunit to v9 (#419)
renovate-bot Nov 6, 2022
de766e9
feat: add ImpersonatedServiceAccountCredentials (#421)
MattAMonroe Nov 28, 2022
1f8cff5
chore(main): release 1.24.0 (#426)
release-please[bot] Nov 28, 2022
fb23132
chore: add PHP 8.2 to test matrix (#428)
bshaffer Dec 20, 2022
45d8313
chore: always use the PR title for commit linting (#430)
bshaffer Jan 25, 2023
cf7ac54
feat: add getFetcher to FetchAuthTokenCache (#431)
bshaffer Jan 26, 2023
0865c44
chore(main): release 1.25.0 (#433)
release-please[bot] Jan 26, 2023
623acee
feat: add support for phpseclib3 (#425)
bshaffer Mar 3, 2023
b053ed9
chore: remove phpstan-ignore-line (#438)
bshaffer Mar 7, 2023
31b2d7a
chore(deps): update dependency kelvinmo/simplejwt to v0.7.0 (#439)
renovate-bot Mar 12, 2023
01f184d
chore: better credentials not found message (#440)
bshaffer Mar 17, 2023
3e5c9f1
feat: access granted scopes (#441)
bshaffer Mar 30, 2023
f1f0d03
chore(main): release 1.26.0 (#437)
release-please[bot] Apr 5, 2023
c196ff0
chore: github workflows marked readOnly (#446)
vishwarajanand Apr 19, 2023
bc71f90
feat(deps): add support for psr/http-message 2.0 (#449)
PaolaRuby Apr 25, 2023
378f5d0
chore(tests): migrate phpunit configuration (#450)
vishwarajanand Apr 25, 2023
d5c552a
chore: drop support for PHP 7.3 (#445)
bshaffer Apr 28, 2023
8403d80
chore: fix docs generation for tag trigger (#434)
bshaffer May 2, 2023
81a5d40
chore(main): release 1.27.0 (#451)
release-please[bot] May 2, 2023
49289d5
chore(ci): remove read restrictions when generating docs
bshaffer May 2, 2023
7f03e0e
chore: fix PHP Deprecation warnings in tests (#453)
vishwarajanand May 8, 2023
a9e8ae3
feat: implement quota project from env var in google/auth (#452)
bshaffer May 11, 2023
1326c81
feat: add pkce support (#454)
bshaffer May 11, 2023
07f7f63
chore(main): release 1.28.0 (#455)
release-please[bot] May 11, 2023
a9a41be
chore(deps): update dependency guzzlehttp/promises to v2 (#458)
renovate-bot Jun 23, 2023
089e514
chore: remove unused use (#459)
bshaffer Jun 26, 2023
dfd1439
chore(main): Enable release trigger (#464)
diptanshumittal Jul 20, 2023
3c672f9
feat: check unix residency for gce when ping fails (#469)
bshaffer Aug 22, 2023
be5b162
chore(main): release 1.29.0 (#471)
release-please[bot] Aug 22, 2023
b8e4dad
chore(deps): update dependency kelvinmo/simplejwt to v0.7.1 (#467)
renovate-bot Aug 23, 2023
0c3a1be
fix: use PKCS8 by default for ID token verify (#466)
marickvantuil Aug 23, 2023
f199ed6
chore(main): release 1.29.1 (#472)
release-please[bot] Aug 23, 2023
06cfb7e
chore: refactor oauth2 tests (#461)
bshaffer Aug 29, 2023
2938e58
feat: add support for BYOID / STS (#473)
bshaffer Sep 7, 2023
6028b07
chore(main): release 1.30.0 (#478)
release-please[bot] Sep 7, 2023
e5bc897
feat: add AWS credential source (#474)
bshaffer Oct 5, 2023
22209fd
chore(main): release 1.31.0 (#484)
release-please[bot] Oct 5, 2023
6d426b5
feat: respect cache control for access token certs (#479)
bshaffer Oct 10, 2023
b882500
chore(main): release 1.32.0 (#488)
release-please[bot] Oct 16, 2023
0042b52
fix: allowed_algs not properly set for string value (#489)
bshaffer Oct 17, 2023
999e9ce
chore(main): release 1.32.1 (#490)
release-please[bot] Oct 17, 2023
3d68b6d
chore: refactor AuthTokenMiddleware logic (#492)
yash30201 Nov 15, 2023
35781ed
feat: add and implement universe domain interface (#477)
bshaffer Nov 28, 2023
90dc9c3
chore(docs): info for configuring workload identity federation (#495)
yash30201 Nov 28, 2023
cee66b6
chore(ci): add workflow for running google/cloud tests before release…
bshaffer Nov 29, 2023
682dc6c
chore(main): release 1.33.0 (#497)
release-please[bot] Nov 30, 2023
7b03c82
chore: Add Version File (#501)
yash30201 Dec 12, 2023
b687d5e
chore(deps): update actions/checkout action to v4 (#491)
renovate-bot Dec 12, 2023
821d4f3
feat: respect sub for domain-wide delegation in service account creds…
bshaffer Dec 13, 2023
e4aa874
feat: support universe domain in service account and metadata credent…
bshaffer Dec 14, 2023
0c563b5
chore: fix php warning in AuthTokenMiddleware (#506)
bshaffer Dec 14, 2023
21f9292
chore(ci): add php 8.3 (#499)
bshaffer Dec 21, 2023
af7ca4a
chore: lint error from new phpseclib (#517)
vishwarajanand Jan 3, 2024
3222f9e
fix: ID Token Caching for GCECredentials (#510)
yash30201 Jan 3, 2024
9cb7545
chore: do not return GDU outside GCE for GCECredentials (#511)
bshaffer Jan 3, 2024
155daea
chore(main): release 1.34.0 (#507)
release-please[bot] Jan 3, 2024
447976e
chore: Update README.md (#508)
piaxc Jan 4, 2024
ee2436d
feat: ServiceAccountJwtAccessCredentials omits expires_in and token_t…
vishwarajanand Jan 4, 2024
8cfb95c
deprecate: remove support for phpseclib V2 (#518)
vishwarajanand Jan 4, 2024
cb782dd
fix: disallow vulnerable guzzle versions (#520)
vojtasvoboda Jan 5, 2024
e06d045
chore(deps): update nick-invision/retry action to v3 (#527)
renovate-bot Jan 31, 2024
c1b240f
feat: workforce credentials (#485)
bshaffer Feb 1, 2024
6e9c9fd
chore(main): release 1.35.0 (#519)
release-please[bot] Feb 1, 2024
b905a56
feat: universe domain for Iam (#531)
bshaffer Feb 20, 2024
155c61a
chore(main): release 1.36.0 (#537)
release-please[bot] Feb 20, 2024
69249ab
feat: add caching for universe domain (#533)
bshaffer Feb 21, 2024
5f16f67
chore(main): release 1.37.0 (#539)
release-please[bot] Feb 21, 2024
3031d2c
fix: use gmdate to format x-amz-date with UTC irrespective of timezon…
yfuruyama Mar 7, 2024
1a7de77
chore(main): release 1.37.1 (#541)
release-please[bot] Apr 3, 2024
309e865
chore: Sync VERSION file's version (#547)
yash30201 Apr 10, 2024
3bcd1fc
chore: drop support for PHP 7.4 (#538)
bshaffer Apr 12, 2024
d98900d
feat: add ExecutableSource credentials (#525)
bshaffer Apr 24, 2024
5d0c473
chore(main): release 1.38.0 (#548)
release-please[bot] Apr 24, 2024
23b1fc1
fix: Release Please version file config (#549)
yash30201 Apr 30, 2024
6495f31
feat: enable auth observability metrics (#509)
yash30201 May 2, 2024
23e8e69
chore(main): release 1.39.0 (#550)
release-please[bot] May 2, 2024
ec13a53
feat: add windows residency check (#553)
Hectorhammett May 31, 2024
bff9f2d
chore(main): release 1.40.0 (#555)
release-please[bot] May 31, 2024
9ebf46e
docs: better documentation for caching (#563)
Hectorhammett Jun 26, 2024
a35c4db
feat: Change getCacheKey implementation for more unique keys (#560)
Hectorhammett Jul 10, 2024
1043ea1
chore(main): release 1.41.0 (#564)
release-please[bot] Jul 10, 2024
d2fa07b
feat: private key getters on service account credentials (google-wall…
razvanphp Jul 10, 2024
1277062
docs: fix import typo, add comment (#568)
bshaffer Jul 16, 2024
8555cb0
feat: Add a file system cache class (#571)
Hectorhammett Aug 22, 2024
e0fa4ea
chore: replace cs and staticanalysis with reusable workflows (#573)
bshaffer Aug 26, 2024
c94ee3a
chore(docs): use shared doctum workflow (#574)
bshaffer Aug 26, 2024
0c25599
chore(main): release 1.42.0 (#566)
release-please[bot] Aug 26, 2024
e10dc3f
chore: cleanup docs job
bshaffer Aug 26, 2024
257ba33
chore: drop support for PHP 8.0 (#532)
bshaffer Oct 3, 2024
dd5f6ef
chore: updates from new cs rules (#577)
bshaffer Oct 4, 2024
da1f02a
fix: compatability with php 8.4 (#584)
srjlewis Oct 23, 2024
1601efc
feat: add ID tokens for user refresh credentials (#468)
bshaffer Oct 31, 2024
2d7d03d
feat: call IamCredentials endpoint for generating ID tokens outside G…
bshaffer Nov 5, 2024
6b00b66
fix: update universe domain URI (#572)
bshaffer Nov 5, 2024
b6a80ac
chore(main): release 1.43.0 (#585)
release-please[bot] Nov 7, 2024
ba137b2
feat: add service account impersonation for access tokens (#586)
bshaffer Nov 13, 2024
3e1061b
fix: add support for php 8.4, remove implicit nullable (#591)
bshaffer Dec 4, 2024
5670e56
chore(main): release 1.44.0 (#588)
release-please[bot] Dec 4, 2024
fe098f5
chore: add back php 8.0 (#594)
bshaffer Dec 11, 2024
4f793fe
feat: add StdOutLogger and LoggingTrait (#578)
Hectorhammett Dec 11, 2024
cfcb931
chore(main): release 1.45.0 (#595)
release-please[bot] Dec 11, 2024
86e9d93
docs: add warning against accepting untrusted credentials (#598)
bshaffer Jan 22, 2025
9e95669
docs: fix warning position - move it above parameters (#599)
bshaffer Jan 23, 2025
608115c
fix: minor changes to allow for refdoc regeneration (#600)
bshaffer Jan 28, 2025
bf86c99
chore(main): release 1.45.2 (#601)
release-please[bot] Jan 28, 2025
000d943
docs: fix broken reference (#602)
bshaffer Jan 29, 2025
b5460d5
docs: update README
bshaffer Feb 5, 2025
33c3c85
fix: return impersonated token as lastReceivedToken (#606)
bshaffer Feb 5, 2025
9ca44ca
docs: remove docs generation, update urls to new ref docs (#607)
bshaffer Feb 5, 2025
dde9576
chore(main): release 1.45.3 (#608)
release-please[bot] Feb 5, 2025
c70b987
chore(main): release 1.45.4 (#609)
release-please[bot] Feb 10, 2025
66db27c
feat: add support for Impersonating ID Tokens (#580)
bshaffer Feb 12, 2025
7fafae9
chore(main): release 1.46.0 (#611)
release-please[bot] Feb 12, 2025
aba8d8c
chore: fix test names in GA workflow
bshaffer Apr 15, 2025
3e63576
feat: add support for $_ENV and $_SERVER in CredentialsLoader (#612)
jannes-io Apr 15, 2025
2e408f6
chore: remove server superglobal support (#616)
bshaffer Apr 15, 2025
d6389aa
chore(main): release 1.47.0 (#615)
release-please[bot] Apr 15, 2025
ff7ece6
fix: undefined index error in cache trait (#617)
bshaffer Jul 8, 2025
d7a0a21
chore(main): release 1.47.1 (#619)
release-please[bot] Jul 9, 2025
5cc3e14
chore: drop php 8.0 (#620)
bshaffer Aug 1, 2025
7ee79d2
chore(deps): update actions/checkout action to v5 (#623)
renovate-bot Sep 5, 2025
12bb6e8
fix: deprecate Credentials::makeCredentials (#624)
bshaffer Sep 16, 2025
7ccbe38
chore(deps): update dependency squizlabs/php_codesniffer to v4 (#628)
renovate-bot Sep 16, 2025
2606c4e
docs: update credential handling in README.md (#629)
bshaffer Sep 16, 2025
d1d9e21
feat: Add the rpcName to the logged event (#630)
Hectorhammett Sep 16, 2025
3053a5b
chore(main): release 1.48.0 (#627)
release-please[bot] Sep 16, 2025
7ec42c6
feat: Remove deprecated Item class for the CacheItemPool (#631)
Hectorhammett Sep 22, 2025
1954ac6
docs: phpdoc warning for external credentials (#633)
bshaffer Sep 29, 2025
c3705b7
chore: delete defunkt and broken autoload.php (#632)
bshaffer Sep 29, 2025
023f41a
chore(main): release 1.48.1 (#634)
release-please[bot] Sep 30, 2025
09042be
fix: filecache race condition (#637)
bshaffer Oct 27, 2025
b6b6966
feat: json key scopes in ImpersonatedServiceAccountCredentials (#638)
bshaffer Nov 5, 2025
38ea069
feat: add semaphore locking to Sysv cache (#640)
bshaffer Nov 6, 2025
68e3d88
chore(main): release 1.49.0 (#639)
release-please[bot] Nov 6, 2025
2a82729
chore: run all phpunit tests on windows (#626)
bshaffer Nov 14, 2025
a8e5ad5
chore(deps): update actions/checkout action to v6 (#641)
renovate-bot Dec 1, 2025
ae52b0a
chore: support firebase/php-jwt 7 (#645)
bshaffer Jan 7, 2026
5a12a88
chore: add PHP 8.5 to testing matrix (#647)
bshaffer Jan 8, 2026
257e089
chore(deps): update dependency webmozart/assert to v2 (#646)
renovate-bot Jan 8, 2026
06e8926
chore(deps): update dependency kelvinmo/simplejwt to v1 (#596)
renovate-bot Jan 8, 2026
e1c26a7
chore(main): release 1.50.0 (#648)
release-please[bot] Jan 8, 2026
c28fffc
chore: replace old php teams with cloud-sdk-php-team (#652)
suztomo Feb 10, 2026
29abd13
chore(tests): organize fixtures into a single test directory (#651)
bshaffer Feb 12, 2026
a4fe69c
fix: ImpersonatedCredentials getLastReceivedToken returns correct tok…
bshaffer Mar 18, 2026
4b746b8
fix: support psr/log 2 (#654)
bshaffer Mar 18, 2026
870c17e
chore(main): release 1.50.1 (#656)
release-please[bot] Mar 18, 2026
58788f8
docs: fix phpdoc codeblocks in credentials classes (#661)
bshaffer May 29, 2026
47b05b0
feat: add ExternalAccountAuthorizedUser credentials (#662)
bshaffer Jun 9, 2026
4c4776e
chore(main): release 1.51.0 (#665)
release-please[bot] Jun 10, 2026
aa37b81
docs: proper placement of deprecation tag (#666)
bshaffer Jun 11, 2026
b9c52b2
chore: fix race condition tests (#669)
bshaffer Jun 22, 2026
fe228ee
feat: Regional Access Boundaries (#649)
bshaffer Jun 22, 2026
1f931ca
chore(deps): update actions/checkout action to v7 (#670)
renovate-bot Jun 22, 2026
d35880b
chore(deps): update nick-invision/retry action to v4 (#657)
renovate-bot Jun 23, 2026
a571c48
chore(ci): update release precheck PHP version (#672)
bshaffer Jun 23, 2026
7a7e5ab
chore(main): release 1.52.0 (#673)
release-please[bot] Jun 23, 2026
ed26eec
feat: add workload identity federation support for AWS ECS tasks (#49…
cy-yun Jul 22, 2026
6f4c5f6
feat: add support for Guzzle 8 (#677)
GrahamCampbell Jul 22, 2026
d677d0b
chore(main): release 1.53.0 (#678)
release-please[bot] Jul 22, 2026
6476a51
docs: fix ADC specific-JSON-key example in README (#679)
SNO7E-G Jul 27, 2026
aadf0e0
chore(tests): support NO_GCE_CHECK environment variable to skip GCE r…
Hectorhammett Aug 7, 2026
cefcff8
chore: monorepo preparation
Hectorhammett Aug 6, 2026
ce64b6c
Modified the bootstrap file and moved the functions to a trait for mo…
Hectorhammett Aug 10, 2026
2165641
Edit style to fit to the monorepo style rules
Hectorhammett Aug 21, 2026
4ce095d
update string for thrown exception
Hectorhammett Aug 21, 2026
0ad6426
modify the phpstan file for configuration compatibility
Hectorhammett Aug 24, 2026
39d0276
style fixes on test files
Hectorhammett Aug 24, 2026
e85a5ab
fix test formatting
Hectorhammett Aug 26, 2026
45fc4c7
Add 'Auth/' from commit 'e85a5abf112db68256f613e8d49504c1f618985f'
Hectorhammett Aug 27, 2026
90f5876
chore: integrate Auth component into monorepo
Hectorhammett Aug 7, 2026
2b9a700
update autoload import
Hectorhammett Aug 11, 2026
1661269
add the gmp extension for windows runners
Hectorhammett Aug 11, 2026
6518247
edit the unit tests yaml to not run on branch push
Hectorhammett Aug 20, 2026
aa83daf
fix docfxcommand tests
Hectorhammett Aug 21, 2026
8ab829e
update interfaceNode to the correct patch for Auth
Hectorhammett Aug 21, 2026
4cf90d0
Update the xref on the metadata file
Hectorhammett Aug 21, 2026
f2ebf64
modify the publish workflow to remove the auth library reference
Hectorhammett Aug 21, 2026
8212c52
change the dependency component to include auth in component class
Hectorhammett Aug 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/run-package-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ run_package_test() {

# Update composer to use local packages
local PACKAGE_DEPENDENCIES=(
"Auth,auth"
"Gax,gax"
"CommonProtos,common-protos,4.100"
"BigQuery,cloud-bigquery"
Expand All @@ -78,7 +79,7 @@ run_package_test() {
"PubSub,cloud-pubsub"
"Storage,cloud-storage,2.100"
"ShoppingCommonProtos,shopping-common-protos"
"GeoCommonProtos,geo-common-protos,0.1",
"GeoCommonProtos,geo-common-protos,0.1"
"Monitoring,cloud-monitoring"
)
for i in "${PACKAGE_DEPENDENCIES[@]}"; do
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,5 @@ jobs:
--format=ci \
-t $GH_TOKEN \
-p $PG_TOKEN \
--skip Gax:repo # Skip repo check for Gax because issues are enabled
--skip Gax:repo \
--skip Auth:repo # Skip repo check for Gax and Auth because issues are enabled
9 changes: 4 additions & 5 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: shivammathur/cache-extensions@de3c642a5fce0ef91581a1c9831e229f525196d6 # v1
with:
php-version: ${{ matrix.php }}
extensions: sodium, sysvshm, ${{ matrix.extensions }}
extensions: sodium, sysvshm, gmp, ${{ matrix.extensions }}
key: cache-key-1 # increment to bust the cache

- name: Cache extensions
Expand All @@ -55,7 +55,7 @@ jobs:
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
with:
php-version: ${{ matrix.php }}
extensions: sodium, sysvshm, ${{ matrix.extensions }}
extensions: sodium, sysvshm, gmp, ${{ matrix.extensions }}

- name: Install Dependencies
uses: nick-invision/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
with:
php-version: '8.1'
extensions: grpc
extensions: grpc, gmp
- name: Run Package Test Suites
run: bash .github/run-package-tests.sh

Expand All @@ -98,7 +98,7 @@ jobs:
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
with:
php-version: '8.1'
extensions: grpc
extensions: grpc, gmp
- name: Run Package Test Suites
env:
PREFER_LOWEST: ${{ github.event.pull_request.user.login == 'release-please[bot]' && '--prefer-lowest-strict' || '--prefer-lowest' }}
Expand All @@ -121,4 +121,3 @@ jobs:
run: dev/vendor/bin/phpunit -c dev/phpunit.xml.dist
- name: Run Dev Snippet Test Suite
run: dev/vendor/bin/phpunit -c dev/phpunit-snippets.xml.dist

9 changes: 0 additions & 9 deletions .kokoro/docs/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,6 @@ if [ ${#DIR_ARRAY[@]} -gt 0 ]; then
printf "%s\n" "${DIR_ARRAY[@]}" | xargs -P "${MAX_JOBS}" -I {} bash -c 'run_docfx_parallel "$@"' _ {}
fi

# Add Auth repo
AUTH_DIR=$PROJECT_DIR/dev/vendor/google/auth
$PROJECT_DIR/dev/google-cloud docfx \
--path $AUTH_DIR \
--out auth-out \
--metadata-version $(cat $AUTH_DIR/VERSION) \
$STAGING_FLAG \
$VERBOSITY_FLAG

# Add protobuf
PROTOBUF_DIR=$PROJECT_DIR/dev/vendor/google/protobuf
PROTOBUF_VERSION=$(composer info google/protobuf -f json -d $PROJECT_DIR/dev | jq -r .versions[0])
Expand Down
8 changes: 8 additions & 0 deletions .repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,14 @@
"library_type": "GAPIC_AUTO",
"api_shortname": "auditmanager"
},
"Auth": {
"language": "php",
"distribution_name": "google/auth",
"release_level": "stable",
"client_documentation": "https://cloud.google.com/php/docs/reference/auth/latest",
"library_type": "CORE",
"api_shortname": ""
},
"AutoMl": {
"language": "php",
"distribution_name": "google/cloud-automl",
Expand Down
18 changes: 18 additions & 0 deletions Auth/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true
charset = utf-8

# Get rid of whitespace to avoid diffs with a bunch of EOL changes
trim_trailing_whitespace = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# PHP-Files
[*.php]
indent_style = space
indent_size = 4
12 changes: 12 additions & 0 deletions Auth/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.editorconfig export-ignore
.gcp export-ignore
.gitattributes export-ignore
.github export-ignore
.gitignore export-ignore
phpstan.neon.dist export-ignore
phpunit.xml.dist export-ignore
.php-cs-fixer.dist.php export-ignore
CHANGELOG.md export-ignore
CODE_OF_CONDUCT.md export-ignore
renovate.json export-ignore
tests export-ignore
24 changes: 24 additions & 0 deletions Auth/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**PLEASE READ THIS ENTIRE MESSAGE**

Hello, and thank you for your contribution! Please note that this repository is
a read-only split of `googleapis/google-cloud-php`. As such, we are
unable to accept pull requests to this repository.

We welcome your pull request and would be happy to consider it for inclusion in
our library if you follow these steps:

* Clone the parent client library repository:

```sh
$ git clone git@github.com:googleapis/google-cloud-php.git
```

* Move your changes into the correct location in that library. Library code
belongs in `Auth/src`, and tests in `Auth/tests`.

* Push the changes in a new branch to a fork, and open a new pull request
[here](https://github.com/googleapis/google-cloud-php).

Thanks again, and we look forward to seeing your proposed change!

The Google Cloud PHP team
12 changes: 12 additions & 0 deletions Auth/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*~
vendor
composer.lock
.cache
.docs
.gitmodules
.phpunit.result.cache

# IntelliJ
.idea
*.iml
.php-cs-fixer.cache
Loading
Loading