Struct letterboxd::AccessToken
[−]
[src]
pub struct AccessToken { pub access_token: String, pub token_type: String, pub refresh_token: String, pub expires_in: usize, }
Fields
access_token: String
The access token that grants the member access. Combine this with the token_type to form the Authorization header.
token_type: String
The type of the access token. Use value: bearer
refresh_token: String
The refresh token is used to obtain a new access token, after the access token expires, without needing to prompt the member for their credentials again. The refresh token only expires if it is explicitly invalidated by Letterboxd, in which case the member should be prompted for their credentials (or stored credentials used).
expires_in: usize
The number of seconds before the access token expires.
Trait Implementations
impl Debug for AccessToken
[src]
impl Clone for AccessToken
[src]
fn clone(&self) -> AccessToken
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more