pub struct OAuth2Authenticator { /* private fields */ }
Expand description
A simple mechanism to authenticate via OAuth2
Implementations§
Trait Implementations§
Source§impl Authenticator for OAuth2Authenticator
impl Authenticator for OAuth2Authenticator
Source§fn auth(&self) -> Option<String>
fn auth(&self) -> Option<String>
If provided, the return string will be added as an argument to the initial “AUTH” command. Read more
Auto Trait Implementations§
impl Freeze for OAuth2Authenticator
impl RefUnwindSafe for OAuth2Authenticator
impl Send for OAuth2Authenticator
impl Sync for OAuth2Authenticator
impl Unpin for OAuth2Authenticator
impl UnwindSafe for OAuth2Authenticator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more