From d34229bc3e495d2927415f408b18aec51a4574e2 Mon Sep 17 00:00:00 2001 From: David Blajda Date: Tue, 18 Dec 2018 05:06:05 +0000 Subject: Implement auth client and auth barrier --- src/helix/models.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/helix/models.rs') diff --git a/src/helix/models.rs b/src/helix/models.rs index e4c58c3..86b7560 100644 --- a/src/helix/models.rs +++ b/src/helix/models.rs @@ -80,3 +80,13 @@ pub struct Clip { pub thumbnail_url: Url, pub view_count: i32, } + + +#[derive(Debug, Deserialize)] +pub struct Credentials { + pub access_token: String, + pub refresh_token: Option, + pub expires_in: u32, + pub scope: Option>, + pub token_type: String, +} -- cgit v1.2.3