From 00675738a4012580c6db10d9e1115732559bdaf3 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Wed, 29 Jan 2025 03:27:31 -0600 Subject: do device code auth --- src/auth/oauth.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/auth/oauth.rs (limited to 'src/auth/oauth.rs') diff --git a/src/auth/oauth.rs b/src/auth/oauth.rs new file mode 100644 index 0000000..6d4da77 --- /dev/null +++ b/src/auth/oauth.rs @@ -0,0 +1,8 @@ +pub mod device_code; +mod refresh; + +pub struct AccessTokenWithRefresh { + pub access_token: String, + pub refresh_token: Option +} + -- cgit v1.2.3-70-g09d2