lsupp/oauth2-yandex
最新稳定版本:1.0.0
Composer 安装命令:
composer require lsupp/oauth2-yandex
包简介
Yandex provider for league/oauth2-client
README 文档
README
This package provides Yandex.com integration for OAuth2 Client by the League.
Installation
composer require lsupp/oauth2-yandex
Add to config/packages/knpu_oauth2_client.yaml
yandex_main:
type: generic
provider_class: Lsupp\OAuth2\Client\Provider\Yandex
# add and set these environment variables in your .env files
client_id: '%env(OAUTH_YANDEX_CLIENT_ID)%'
client_secret: '%env(OAUTH_YANDEX_CLIENT_SECRET)%'
# a route name you'll create
redirect_route: connect_yandex_check
redirect_params: {}
# whether to check OAuth2 "state": defaults to true
# use_state: true
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-25