3 Star 0 Fork 1

mirrors_zmartzone/lua-resty-openidc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lua-resty-openidc-1.8.0-1.rockspec 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
package = "lua-resty-openidc"
version = "1.8.0-1"
source = {
url = "git+https://github.com/zmartzone/lua-resty-openidc",
tag = "v1.8.0",
dir = "lua-resty-openidc"
}
description = {
summary = "A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality",
detailed = [[
lua-resty-openidc is a library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality.
When used as an OpenID Connect Relying Party it authenticates users against an OpenID Connect Provider using OpenID Connect Discovery and the Basic Client Profile (i.e. the Authorization Code flow). When used as an OAuth 2.0 Resource Server it can validate OAuth 2.0 Bearer Access Tokens against an Authorization Server or, in case a JSON Web Token is used for an Access Token, verification can happen against a pre-configured secret/key .
It maintains sessions for authenticated users by leveraging lua-resty-session thus offering a configurable choice between storing the session state in a client-side browser cookie or use in of the server-side storage mechanisms shared-memory|memcache|redis.
It supports server-wide caching of resolved Discovery documents and validated Access Tokens.
It can be used as a reverse proxy terminating OAuth/OpenID Connect in front of an origin server so that the origin server/services can be protected with the relevant standards without implementing those on the server itself.
]],
homepage = "https://github.com/zmartzone/lua-resty-openidc",
license = "Apache 2.0"
}
dependencies = {
"lua >= 5.1",
"lua-resty-http >= 0.08",
"lua-resty-session >= 4.0.3",
"lua-resty-jwt >= 0.2.0"
}
build = {
type = "builtin",
modules = {
["resty.openidc"] = "lib/resty/openidc.lua"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_zmartzone/lua-resty-openidc.git
git@gitee.com:mirrors_zmartzone/lua-resty-openidc.git
mirrors_zmartzone
lua-resty-openidc
lua-resty-openidc
master

搜索帮助