File tree 4 files changed +11
-12
lines changed
kong/plugins/access-token-introspection
4 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ version: 2.1
3
3
jobs :
4
4
test :
5
5
machine :
6
- image : ubuntu-2004:202111-01
6
+ image : ubuntu-2004:2023.04.2
7
7
docker_layer_caching : true
8
8
steps :
9
9
- checkout
10
10
- run :
11
11
name : Install pongo
12
12
command : |
13
- git clone --single- branch https://github.com/Kong/kong-pongo ../kong-pongo
13
+ git clone --depth 1 -- branch 2.5.0 https://github.com/Kong/kong-pongo ../kong-pongo
14
14
../kong-pongo/pongo.sh up
15
15
../kong-pongo/pongo.sh build
16
16
- run :
Original file line number Diff line number Diff line change @@ -30,3 +30,5 @@ Plugin is protecting Kong API service/route with introspection of Oauth2.0 JWT a
30
30
** 1.2.0** ` luarocks install https://raw.githubusercontent.com/medwing/kong-token-introspection/v1.2.0/access-token-introspection-1.2.0-0.rockspec `
31
31
32
32
** 1.2.1** ` luarocks install https://raw.githubusercontent.com/medwing/kong-token-introspection/v1.2.1/access-token-introspection-1.2.1-0.rockspec `
33
+
34
+ ** 2.0.0** ` luarocks install https://raw.githubusercontent.com/medwing/kong-token-introspection/v2.0.0/access-token-introspection-2.0.0-0.rockspec `
Original file line number Diff line number Diff line change 1
1
package = " access-token-introspection"
2
- version = " 1.2.1 -0"
2
+ version = " 2.0.0 -0"
3
3
4
4
source = {
5
5
url = " git+https://github.com/medwing/kong-token-introspection.git" ,
6
- tag = " v1.2.1 "
6
+ tag = " v2.0.0 "
7
7
}
8
8
9
9
description = {
Original file line number Diff line number Diff line change 1
- local BasePlugin = require " kong.plugins.base_plugin"
2
1
local access = require " kong.plugins.access-token-introspection.access"
3
2
4
- local TokenHandler = BasePlugin :extend ()
5
-
6
- function TokenHandler :new ()
7
- TokenHandler .super .new (self , " access-token-introspection" )
8
- end
3
+ local TokenHandler = {
4
+ PRIORITY = 1500 ,
5
+ VERSION = " 2.0.0-0"
6
+ }
9
7
10
8
function TokenHandler :access (conf )
11
- TokenHandler .super .access (self )
12
9
access .run (conf )
13
10
end
14
11
15
- return TokenHandler
12
+ return TokenHandler
You can’t perform that action at this time.
0 commit comments