noilty/oauth2-shikimori 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-11