pub struct OAuthBuider {
http_client: HttpClientRef,
}
Available on crate feature
oauth
only.Fields§
§http_client: HttpClientRef
Implementations§
Source§impl OAuthBuider
impl OAuthBuider
pub fn new(http_client: HttpClientRef) -> Self
pub fn login(&self) -> RetriveTokensBuilder
pub fn refresh(&self) -> RefreshTokensBuilder
Trait Implementations§
Source§impl Debug for OAuthBuider
impl Debug for OAuthBuider
Source§impl From<&OAuthBuider> for HttpClientRef
impl From<&OAuthBuider> for HttpClientRef
Source§fn from(value: &OAuthBuider) -> Self
fn from(value: &OAuthBuider) -> Self
Converts to this type from the input type.
Source§impl OAuthBuiderMethods for OAuthBuider
impl OAuthBuiderMethods for OAuthBuider
fn login(&self) -> RetriveTokensBuilder
fn refresh(&self) -> RefreshTokensBuilder
Auto Trait Implementations§
impl Freeze for OAuthBuider
impl !RefUnwindSafe for OAuthBuider
impl !Send for OAuthBuider
impl !Sync for OAuthBuider
impl Unpin for OAuthBuider
impl !UnwindSafe for OAuthBuider
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