pub struct AuthorizationParameters {
    pub client_id: String,
    pub scope: Vec<String>,
    pub state: String,
    pub access_type: String,
    pub code_challenge: Option<String>,
    pub code_challenge_method: Option<String>,
    pub keys_jwk: Option<String>,
}
Expand description

Parameters provided in an incoming OAuth request.

This struct represents parameters obtained from an incoming OAuth request - that is, the values that an OAuth client would append to the authorization URL when initiating an OAuth sign-in flow.

Fields§

§client_id: String§scope: Vec<String>§state: String§access_type: String§code_challenge: Option<String>§code_challenge_method: Option<String>§keys_jwk: Option<String>

Trait Implementations§

The type returned in the event of a conversion error.
Performs the conversion.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.