Struct yup_oauth2::DiskTokenStorage [] [src]

pub struct DiskTokenStorage { /* fields omitted */ }

Serializes tokens to a JSON file on disk.

Methods

impl DiskTokenStorage
[src]

Trait Implementations

impl Default for DiskTokenStorage
[src]

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

impl TokenStorage for DiskTokenStorage
[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.