summaryrefslogtreecommitdiffstats
path: root/src/auth/oauth.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-29 03:27:31 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-29 03:27:31 -0600
commit00675738a4012580c6db10d9e1115732559bdaf3 (patch)
treeb07774fe20140f48f3c27241051cf4ddd61a2577 /src/auth/oauth.rs
parentwip: auth (diff)
do device code auth
Diffstat (limited to 'src/auth/oauth.rs')
-rw-r--r--src/auth/oauth.rs8
1 files changed, 8 insertions, 0 deletions
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<String>
+}
+