Struct openid_client::types::DeviceAuthorizationParams
source · pub struct DeviceAuthorizationParams {
pub client_id: Option<String>,
pub scope: Option<Vec<String>>,
pub max_age: Option<u64>,
pub other: HashMap<String, Value>,
}Expand description
DeviceAuthorizationParams
Parameters for performing Device Authorization
Fields§
§client_id: Option<String>Client id for making the Device authorization request
scope: Option<Vec<String>>Scopes to request with
max_age: Option<u64>Max age allowed for token in seconds
other: HashMap<String, Value>Other values that needs to be sent with the request
Trait Implementations§
source§impl Default for DeviceAuthorizationParams
impl Default for DeviceAuthorizationParams
source§fn default() -> DeviceAuthorizationParams
fn default() -> DeviceAuthorizationParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DeviceAuthorizationParams
impl Send for DeviceAuthorizationParams
impl Sync for DeviceAuthorizationParams
impl Unpin for DeviceAuthorizationParams
impl UnwindSafe for DeviceAuthorizationParams
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