private-packagist/oidc-identities
最新稳定版本:1.0.1
Composer 安装命令:
composer require private-packagist/oidc-identities
包简介
Create OIDC tokens on different platforms
README 文档
README
GitHub Action to publish artifacts as package versions to Private Packagist.
Requirements
PHP >= 7.2
Install
Via Composer:
$ composer require private-packagist/oidc-identities
Usage
Initiate a TokenGenerator instance and call the generate method with $audience.
The TokenGenerator will automatically try all supported platforms.
// Configure a HttpMethodsClient instance $oidcHttpClient = new HttpMethodsClient( Psr18ClientDiscovery::find(), Psr17FactoryDiscovery::findRequestFactory(), Psr17FactoryDiscovery::findStreamFactory(), ); $tokenGenerator = new TokenGenerator(new NullLogger(), $oidcHttpClient); $token = $tokenGenerator->generate($audience);
Copyright and License
The GitHub Action is licensed under the MIT License.
统计信息
- 总下载量: 4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-22