Trait twitch_api_rs::auth::AuthToken[][src]

pub trait AuthToken: Headers + Clone {
    fn scopes(&self) -> &ScopeSet;
}

Represents a authorization token of some type that can be sent as a header to a twitch endpoint.

Required methods

fn scopes(&self) -> &ScopeSet[src]

Get the set of scopes that this token has associated with it

Loading content...

Implementations on Foreign Types

impl<A> AuthToken for Arc<A> where
    A: AuthToken
[src]

impl<A> AuthToken for Rc<A> where
    A: AuthToken
[src]

Loading content...

Implementors

impl AuthToken for ClientAuthToken[src]

Loading content...