noilty/oauth2-shikimori
Composer 安装命令:
composer require noilty/oauth2-shikimori
包简介
Shikimori OAuth 2.0 Client Provider for The PHP Noilty OAuth2-Client
README 文档
README
This package provides Google OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
To use this package, it will be necessary to have a Google client ID and client secret. These are referred to as OAUTH_SHIKIMORI_ID and OAUTH_SHIKIMORI_SECRET in the documentation.
Please follow the Shikimori instructions to create the required credentials.
Installation
To install, use composer:
composer require noilty/oauth2-shikimori
Usage
to file knpu_oauth2_client.yaml need to add client:
shikimori_main: type: generic provider_class: Noilty\OAuth2\Client\Provider\Shikimori client_id: '%env(OAUTH_SHIKIMORI_ID)%' client_secret: '%env(OAUTH_SHIKIMORI_SECRET)%' redirect_route: oauth.shikimori_check redirect_params: {} use_state: true
TODO
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-11