pub struct DeviceAuthFlow { /* private fields */ }Expand description
OAuth2 Device Authorization Flow (for CLI/headless)
Implementations§
Source§impl DeviceAuthFlow
impl DeviceAuthFlow
Sourcepub fn new(provider: OAuthProvider) -> Self
pub fn new(provider: OAuthProvider) -> Self
Create a new device auth flow
Auto Trait Implementations§
impl Freeze for DeviceAuthFlow
impl !RefUnwindSafe for DeviceAuthFlow
impl Send for DeviceAuthFlow
impl Sync for DeviceAuthFlow
impl Unpin for DeviceAuthFlow
impl !UnwindSafe for DeviceAuthFlow
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