[−][src]Struct yup_oauth2::DefaultAuthenticatorDelegate
Uses all default implementations by AuthenticatorDelegate, and makes the trait's implementation usable in the first place.
Trait Implementations
impl AuthenticatorDelegate for DefaultAuthenticatorDelegate[src]
fn client_error(&mut self, _: &Error) -> Retry[src]
Called whenever there is an client, usually if there are network problems. Read more
fn token_storage_failure(&mut self, is_set: bool, _: &dyn Error) -> Retry[src]
Called whenever we failed to retrieve a token or set a token due to a storage error. You may use it to either ignore the incident or retry. This can be useful if the underlying TokenStorage may fail occasionally. if is_set is true, the failure resulted from TokenStorage.set(...). Otherwise, it was TokenStorage.get(...) Read more
fn request_failure(&mut self, _: RequestError)[src]
The server denied the attempt to obtain a request code
fn token_refresh_failed<S: AsRef<str>>(
&mut self,
error: S,
error_description: &Option<String>
)[src]
&mut self,
error: S,
error_description: &Option<String>
)
Called if we could not acquire a refresh token for a reason possibly specified by the server. This call is made for the delegate's information only. Read more
impl Clone for DefaultAuthenticatorDelegate[src]
fn clone(&self) -> DefaultAuthenticatorDelegate[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for DefaultAuthenticatorDelegate
impl Unpin for DefaultAuthenticatorDelegate
impl Sync for DefaultAuthenticatorDelegate
impl UnwindSafe for DefaultAuthenticatorDelegate
impl RefUnwindSafe for DefaultAuthenticatorDelegate
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,