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
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.
- Implement
AbstractUserIdentifierMiddleware, creating a globally unique user identifier for any given request - Configure
Firestore\AccessTokenRepositoryfor a given Provider independencies.php - Inject the
AbstractUserIdentifierMiddlewareimplementation into theRouteBuilder::define()call. (In the linked example, theApiProxyUserIdentifierdepends on data that must be provided byAuthenticatedfirst, andPartitionedSessionis invoked last/outer because we are in an embedded LTI placement context).
统计信息
- 总下载量: 122
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2025-09-19