From 7748c766d5f552d8cd1c9d544adab8b1df1c0cca Mon Sep 17 00:00:00 2001 From: Anthony Heathcoat Date: Wed, 7 Aug 2024 12:37:46 -0400 Subject: [PATCH] make pkcecode string pub to support serialization (#155) --- src/oauth2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oauth2.rs b/src/oauth2.rs index 9a7c9d8..678dc2a 100644 --- a/src/oauth2.rs +++ b/src/oauth2.rs @@ -94,7 +94,7 @@ impl TokenType { /// A proof key for OAuth2 PKCE ("Proof Key for Code Exchange") flow. #[derive(Debug, Clone)] pub struct PkceCode { - code: String, + pub code: String, } impl PkceCode {