summaryrefslogtreecommitdiffstats
path: root/src/auth/oauth.rs
diff options
context:
space:
mode:
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>
+}
+