pub struct DeviceFlowConfig {
pub client_id: &'static str,
pub device_auth_url: &'static str,
pub token_url: &'static str,
pub scope: Option<&'static str>,
}Expand description
Device flow configuration for OAuth providers.
Fields§
§client_id: &'static strOAuth client ID for the application.
device_auth_url: &'static strDevice authorization endpoint URL.
token_url: &'static strToken endpoint URL.
scope: Option<&'static str>Optional scope to request.
Auto Trait Implementations§
impl Freeze for DeviceFlowConfig
impl RefUnwindSafe for DeviceFlowConfig
impl Send for DeviceFlowConfig
impl Sync for DeviceFlowConfig
impl Unpin for DeviceFlowConfig
impl UnsafeUnpin for DeviceFlowConfig
impl UnwindSafe for DeviceFlowConfig
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