Struct oauth2::devicecode::DeviceAuthorizationResponse [−][src]
pub struct DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields, { /* fields omitted */ }
Expand description
Standard OAuth2 device authorization response.
Implementations
The device verification code.
The end-user verification URI on the authorization The URI should be short and easy to remember as end users will be asked to manually type it into their user agent.
A verification URI that includes the “user_code” (or other information with the same function as the “user_code”), which is designed for non-textual transmission.
The lifetime in seconds of the “device_code” and “user_code”.
The minimum amount of time in seconds that the client SHOULD wait between polling requests to the token endpoint. If no value is provided, clients MUST use 5 as the default.
Any extra fields returned on the response.
Trait Implementations
impl<EF: Clone> Clone for DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields,
impl<EF: Clone> Clone for DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields,
impl<EF: Debug> Debug for DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields,
impl<EF: Debug> Debug for DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields,
impl<'de, EF> Deserialize<'de> for DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields,
EF: ExtraDeviceAuthorizationFields,
impl<'de, EF> Deserialize<'de> for DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields,
EF: ExtraDeviceAuthorizationFields,
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
impl<EF> Serialize for DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields,
EF: ExtraDeviceAuthorizationFields,
impl<EF> Serialize for DeviceAuthorizationResponse<EF> where
EF: ExtraDeviceAuthorizationFields,
EF: ExtraDeviceAuthorizationFields,
Auto Trait Implementations
impl<EF> RefUnwindSafe for DeviceAuthorizationResponse<EF> where
EF: RefUnwindSafe,
impl<EF> Send for DeviceAuthorizationResponse<EF> where
EF: Send,
impl<EF> Sync for DeviceAuthorizationResponse<EF> where
EF: Sync,
impl<EF> Unpin for DeviceAuthorizationResponse<EF> where
EF: Unpin,
impl<EF> UnwindSafe for DeviceAuthorizationResponse<EF> where
EF: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more