feat: add multiple authentication methods, token and oidc.

token is the current token comparison, and oidc generates oidc token using client-credentials flow. in addition - add ping verification using the same method
This commit is contained in:
Guy Lewin authored and GitHub committed 2020-03-01 10:57:01 +08:00
1 parent 83d80857fd
commit 6c6607ae68
190 files changed
+47571 -62

No files matched your search

+4
View File
@@ -29,4 +29,8 @@ var (
HttpsProxy string = "https"
StcpProxy string = "stcp"
XtcpProxy string = "xtcp"
// authentication method
TokenAuthMethod string = "token"
OidcAuthMethod string = "oidc"
)