Struct letterboxd::AccessToken [] [src]

pub struct AccessToken {
    pub access_token: String,
    pub token_type: String,
    pub refresh_token: String,
    pub expires_in: usize,
}

Fields

The access token that grants the member access. Combine this with the token_type to form the Authorization header.

The type of the access token. Use value: bearer

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).

The number of seconds before the access token expires.

Trait Implementations

impl Debug for AccessToken
[src]

[src]

Formats the value using the given formatter.

impl Clone for AccessToken
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more