diff options
author | David Blajda <blajda@hotmail.com> | 2018-12-18 05:06:05 +0000 |
---|---|---|
committer | David Blajda <blajda@hotmail.com> | 2018-12-18 05:06:05 +0000 |
commit | d34229bc3e495d2927415f408b18aec51a4574e2 (patch) | |
tree | 42f892b93d1459a55b52ccb009ddafd9166e0a8b /src/helix/models.rs | |
parent | 21ebcdb53db06557fe73e195742c038ed91ef331 (diff) |
Implement auth client and auth barrier
Diffstat (limited to 'src/helix/models.rs')
-rw-r--r-- | src/helix/models.rs | 10 |
1 files changed, 10 insertions, 0 deletions
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<String>, + pub expires_in: u32, + pub scope: Option<Vec<String>>, + pub token_type: String, +} |