[][src]Struct sync15::token::TokenProvider

pub struct TokenProvider {
    imp: TokenProviderImpl<TokenServerFetcher>,
}

Fields

imp: TokenProviderImpl<TokenServerFetcher>

Implementations

impl TokenProvider[src]

pub fn new(url: Url, access_token: String, key_id: String) -> Result<Self>[src]

pub fn hashed_uid(&self) -> Result<String>[src]

pub fn authorization(&self, req: &Request) -> Result<String>[src]

pub fn api_endpoint(&self) -> Result<String>[src]

Trait Implementations

impl Debug for TokenProvider[src]

Auto Trait Implementations

impl !RefUnwindSafe for TokenProvider

impl Send for TokenProvider

impl !Sync for TokenProvider

impl Unpin for TokenProvider

impl !UnwindSafe for TokenProvider

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,