Trait inth_oauth2_async::token::Lifetime[][src]

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

OAuth 2.0 token lifetimes.

Required methods

Returns true if the access token is no longer valid.

Implementors