From d58dab702b71fbca21e9b623ee8f3b50f7bd44d0 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Fri, 2 Dec 2022 15:53:07 +0100 Subject: [PATCH] oauth2-types: urn:ietf:params:oauth:grant-type:jwt-bearer --- crates/oauth2-types/src/requests.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/oauth2-types/src/requests.rs b/crates/oauth2-types/src/requests.rs index 08495de8..6ff1b58a 100644 --- a/crates/oauth2-types/src/requests.rs +++ b/crates/oauth2-types/src/requests.rs @@ -533,6 +533,10 @@ pub enum GrantType { #[display("urn:ietf:params:oauth:grant-type:device_code")] DeviceCode, + /// [`https://datatracker.ietf.org/doc/html/rfc7523#section-2.1`](https://www.rfc-editor.org/rfc/rfc7523#section-2.1) + #[display("urn:ietf:params:oauth:grant-type:jwt-bearer")] + JwtBearer, + /// [`urn:openid:params:grant-type:ciba`](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html) #[display("urn:openid:params:grant-type:ciba")] ClientInitiatedBackchannelAuthentication,