A plugin that implements token parsing and authentication function based on wasm-go (#485)

This commit is contained in:
船长
2023-08-27 15:57:15 +08:00
committed by GitHub
parent 1051201e97
commit 2b9e3a14c2
8 changed files with 235 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
module jwt-auth
go 1.19
require (
github.com/alibaba/higress/plugins/wasm-go v0.0.0-20230811015533-49269b43032f
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/tetratelabs/proxy-wasm-go-sdk v0.22.0
github.com/tidwall/gjson v1.16.0
)
require (
github.com/google/uuid v1.3.0 // indirect
github.com/magefile/mage v1.14.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/wasilibs/nottinygc v0.3.0 // indirect
)