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>,
/* private fields */
}
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§
source§impl<SCOPE> Query<SCOPE>where
SCOPE: Scope,
impl<SCOPE> Query<SCOPE>where
SCOPE: Scope,
pub fn new(
client_id: String,
redirect_uri: Option<String>,
scope: Option<ScopeParameter<SCOPE>>,
state: Option<String>
) -> Query<SCOPE>
pub fn set_extra(&mut self, extra: Map<String, Value>)
pub fn extra(&self) -> Option<&Map<String, Value>>
pub fn try_from_t_with_string(
query: &Query<String>
) -> Result<Query<SCOPE>, ScopeFromStrError>
Trait Implementations§
source§impl<'de, SCOPE> Deserialize<'de> for Query<SCOPE>where
SCOPE: Scope + Deserialize<'de>,
impl<'de, SCOPE> Deserialize<'de> for Query<SCOPE>where
SCOPE: Scope + Deserialize<'de>,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Query<SCOPE>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
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