groton-school/slim-oauth2-api-proxy-gae-repository 问题修复 & 功能扩展

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

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

groton-school/slim-oauth2-api-proxy-gae-repository

最新稳定版本:1.0.1

Composer 安装命令:

composer require groton-school/slim-oauth2-api-proxy-gae-repository

包简介

Firestore access token repository for Slim OAuth2 API proxy running on Google App Engine

README 文档

README

Firestore access token repository for Slim OAuth2 API proxy running on Google App Engine

Latest Version

Install

composer require groton-school/oauth2-api-proxy-gae-repository

Use

This is an alternative to the default browser cookie storage for groton-school/oauth2-api-proxy, with the advantage that when used in an embedded context (e.g. an LTI placement) with partitioned cookies, users will not need to reauthorize the API access nearly as frequently.

  1. Implement AbstractUserIdentifierMiddleware, creating a globally unique user identifier for any given request
  2. Configure Firestore\AccessTokenRepository for a given Provider in dependencies.php
  3. Inject the AbstractUserIdentifierMiddleware implementation into the RouteBuilder::define() call. (In the linked example, the ApiProxyUserIdentifier depends on data that must be provided by Authenticated first, and PartitionedSession is invoked last/outer because we are in an embedded LTI placement context).

统计信息

  • 总下载量: 122
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2025-09-19