diff options
Diffstat (limited to 'src/auth/oauth.rs')
| -rw-r--r-- | src/auth/oauth.rs | 8 |
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> +} + |
