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 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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