From f7bca07f06f2d16d3b63942b3eee774f708fe3cb Mon Sep 17 00:00:00 2001 From: Hugues de Valon Date: Thu, 8 Oct 2020 13:47:41 +0100 Subject: [PATCH] Add a JWT SVID authentication type Although this is not currently documented in our book, it is useful to start building it on a PoC level. Signed-off-by: Hugues de Valon --- src/requests/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/requests/mod.rs b/src/requests/mod.rs index 494f044..70b20a2 100644 --- a/src/requests/mod.rs +++ b/src/requests/mod.rs @@ -126,8 +126,10 @@ pub enum AuthType { NoAuth = 0, /// Direct authentication Direct = 1, - /// JSON Web Tokens (JWT) authentication - JWT = 2, + /// JSON Web Tokens (JWT) authentication (not currently supported) + Jwt = 2, /// Unix peer credentials authentication UnixPeerCredentials = 3, + /// Authentication verifying a JWT SPIFFE Verifiable Identity Document + JwtSvid = 4, }