pub struct DeviceAuthorizationRequest {
pub additional_fields: Map<String, Value>,
pub client_id: Option<String>,
pub user_id: Option<String>,
pub scope: Option<String>,
}Expand description
The validated and normalized request passed to a configured Device grant.
Fields§
§additional_fields: Map<String, Value>Declared additional request fields after validation.
client_id: Option<String>Optional only when a grant supplies request authorization.
user_id: Option<String>User to pre-bind through the existing native request field.
scope: Option<String>Requested native scope after empty-value normalization.
Trait Implementations§
Source§impl Clone for DeviceAuthorizationRequest
impl Clone for DeviceAuthorizationRequest
Source§impl Debug for DeviceAuthorizationRequest
impl Debug for DeviceAuthorizationRequest
Source§impl<'de> Deserialize<'de> for DeviceAuthorizationRequest
impl<'de> Deserialize<'de> for DeviceAuthorizationRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeviceAuthorizationRequest
impl RefUnwindSafe for DeviceAuthorizationRequest
impl Send for DeviceAuthorizationRequest
impl Sync for DeviceAuthorizationRequest
impl Unpin for DeviceAuthorizationRequest
impl UnsafeUnpin for DeviceAuthorizationRequest
impl UnwindSafe for DeviceAuthorizationRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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