Struct yup_oauth2::MemoryStorage[][src]

pub struct MemoryStorage {
    pub tokens: HashMap<u64, Token>,
}

A storage that remembers values for one session only.

Fields

Trait Implementations

impl Default for MemoryStorage
[src]

Returns the "default value" for a type. Read more

impl TokenStorage for MemoryStorage
[src]

If token is None, it is invalid or revoked and should be removed from storage. Otherwise, it should be saved. Read more

A None result indicates that there is no token for the given scope_hash.

Auto Trait Implementations