Struct inth_oauth2::token::Refresh
[−]
[src]
pub struct Refresh { // some fields omitted }
An expiring token which can be refreshed.
Methods
impl Refresh
fn refresh_token(&self) -> &str
Returns the refresh token.
fn expires(&self) -> &DateTime<UTC>
Returns the expiry time of the access token.