forked from telekom-digioss/kong-plugin-jwt-keycloak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kong-plugin-jwt-keycloak-1.3.0-1.rockspec
44 lines (35 loc) · 1.47 KB
/
kong-plugin-jwt-keycloak-1.3.0-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
local plugin_name = "jwt-keycloak"
local package_name = "kong-plugin-" .. plugin_name
local package_version = "1.3.0"
local rockspec_revision = "1"
local github_account_name = "telekom-digioss"
local github_repo_name = package_name
local git_checkout = package_version == "dev" and "master" or package_version
package = package_name
version = package_version .. "-" .. rockspec_revision
supported_platforms = { "linux", "macosx" }
source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = git_checkout,
}
description = {
summary = "A Kong plugin that will validate tokens issued by keycloak",
homepage = "https://"..github_account_name..".github.io/"..github_repo_name,
license = "Apache 2.0",
}
dependencies = {
"lua ~> 5"
}
build = {
type = "builtin",
modules = {
-- TODO: add any additional code files added to the plugin
["kong.plugins."..plugin_name..".handler"] = "src/handler.lua",
["kong.plugins."..plugin_name..".schema"] = "src/schema.lua",
["kong.plugins."..plugin_name..".keycloak_keys"] = "src/keycloak_keys.lua",
["kong.plugins."..plugin_name..".key_conversion"] = "src/key_conversion.lua",
["kong.plugins."..plugin_name..".validators.issuers"] = "src/validators/issuers.lua",
["kong.plugins."..plugin_name..".validators.roles"] = "src/validators/roles.lua",
["kong.plugins."..plugin_name..".validators.scope"] = "src/validators/scope.lua",
}
}