Struct oauth2_client::authorization_code_grant::provider_ext::AuthorizationRequestQuery [−][src]
pub struct AuthorizationRequestQuery<SCOPE> where
SCOPE: Scope, {
pub response_type: String,
pub client_id: String,
pub redirect_uri: Option<String>,
pub scope: Option<ScopeParameter<SCOPE>>,
pub state: Option<String>,
pub code_challenge: Option<String>,
pub code_challenge_method: Option<CodeChallengeMethod>,
pub nonce: Option<String>,
// some fields omitted
}
Fields
response_type: String
client_id: String
redirect_uri: Option<String>
scope: Option<ScopeParameter<SCOPE>>
state: Option<String>
code_challenge: Option<String>
code_challenge_method: Option<CodeChallengeMethod>
nonce: Option<String>
Implementations
pub fn new(
client_id: String,
redirect_uri: Option<String>,
scope: Option<ScopeParameter<SCOPE>>,
state: Option<String>
) -> Query<SCOPE>
pub fn try_from_t_with_string(
query: &Query<String>
) -> Result<Query<SCOPE>, ScopeFromStrError>
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Query<SCOPE>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Query<SCOPE>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl<SCOPE> RefUnwindSafe for Query<SCOPE> where
SCOPE: RefUnwindSafe,
impl<SCOPE> UnwindSafe for Query<SCOPE> where
SCOPE: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more