Struct fractal_api::oauth::AccessToken [] [src]

pub struct AccessToken {
    // some fields omitted
}

Struct representing an access token.

Methods

impl AccessToken
[src]

Creates an access token from stored data.

Gets the application ID of the token.

Gets an iterator through the scopes of the token.

Gets the token to be sent

Gets the expiration time of the token.

Returns wether the access token expired or not.

Trait Implementations

impl Debug for AccessToken
[src]

Formats the value using the given formatter.

impl Clone for AccessToken
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromDTO<AccessTokenDTO> for AccessToken
[src]

the from dto wrapper