Trait inth_oauth2::token::Lifetime [] [src]

pub trait Lifetime: FromResponse {
    fn expired(&self) -> bool;
}

OAuth 2.0 token lifetimes.

Required Methods

Returns true if the access token is no longer valid.

Implementors