pub struct DeviceCodeFlowInfo {
pub device_code: String,
pub user_code: String,
pub verification_uri: String,
pub expires_in: u64,
pub interval: u64,
pub message: String,
}Expand description
Information required to complete an Azure AD Device Code Flow authentication.
Contains the device code, user code, and verification URL that the user needs to complete the authentication process on a separate device or browser.
Fields§
§device_code: StringDevice-specific code used internally by Azure AD
user_code: StringShort user code that the user enters on the verification page
verification_uri: StringURL where the user should go to enter the user code
expires_in: u64Time in seconds until the device code expires
interval: u64Recommended polling interval in seconds
message: StringHuman-readable message with authentication instructions
Trait Implementations§
Source§impl Clone for DeviceCodeFlowInfo
impl Clone for DeviceCodeFlowInfo
Source§fn clone(&self) -> DeviceCodeFlowInfo
fn clone(&self) -> DeviceCodeFlowInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceCodeFlowInfo
impl RefUnwindSafe for DeviceCodeFlowInfo
impl Send for DeviceCodeFlowInfo
impl Sync for DeviceCodeFlowInfo
impl Unpin for DeviceCodeFlowInfo
impl UnwindSafe for DeviceCodeFlowInfo
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