Skip to content

Commit 09e4e50

Browse files
authored
Merge pull request #84 from hug-dev/jwt-svid
Add a JWT SVID authentication type
2 parents 3603b5c + f7bca07 commit 09e4e50

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/requests/mod.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ pub enum AuthType {
126126
NoAuth = 0,
127127
/// Direct authentication
128128
Direct = 1,
129-
/// JSON Web Tokens (JWT) authentication
130-
JWT = 2,
129+
/// JSON Web Tokens (JWT) authentication (not currently supported)
130+
Jwt = 2,
131131
/// Unix peer credentials authentication
132132
UnixPeerCredentials = 3,
133+
/// Authentication verifying a JWT SPIFFE Verifiable Identity Document
134+
JwtSvid = 4,
133135
}

0 commit comments

Comments
 (0)