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

OAuth 2.0 token lifetimes.

Required Methods§

source

fn expired(&self) -> bool

Returns true if the access token is no longer valid.

Object Safety§

This trait is not object safe.

Implementors§