jzecca/oauth2-edenred
最新稳定版本:1.0.0
Composer 安装命令:
composer require jzecca/oauth2-edenred
包简介
Edenred OAuth 2.0 Client Provider for The PHP League OAuth2-Client
README 文档
README
This package provides Edenred Connect OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Installation
To install, use composer:
composer require jzecca/oauth2-edenred
Usage
Usage is the same as The League's OAuth client, using \Jzecca\OAuth2\Client\Provider\Edenred as the provider.
Available Options
The Edenred provider has the following options:
| Name | Type | Default | Description |
|---|---|---|---|
locale |
string |
Gives a hint about the desired display language of the login UI | |
loginHint |
string |
Pre-fills the username field on the login page | |
sandbox |
bool |
false |
Uses the sandbox API if set to true |
scopes |
array |
[] |
Adds one or more registered scopes |
tenant |
string |
Passes a tenant name to the user service |
Testing
Tests can be run with:
composer test
Code style can be fixed with:
composer fix
统计信息
- 总下载量: 5.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-06-05