Struct openid_client::types::OAuthCallbackChecks
source · pub struct OAuthCallbackChecks {
pub response_type: Option<String>,
pub state: Option<String>,
pub code_verifier: Option<String>,
pub jarm: Option<bool>,
}Expand description
OAuthCallbackChecks
Checks that needs to be performed against the OAuth CallbackParams recieved from the Auth server.
Fields§
§response_type: Option<String>When provided the authorization response will be checked for presence of required parameters for a given response_type. Use of this check is recommended.
state: Option<String>Expected state from the response
code_verifier: Option<String>PKCE code verified to be sent to the token endpoint
jarm: Option<bool>Specifies that the response will be a JARM response
Trait Implementations§
source§impl Clone for OAuthCallbackChecks
impl Clone for OAuthCallbackChecks
source§fn clone(&self) -> OAuthCallbackChecks
fn clone(&self) -> OAuthCallbackChecks
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for OAuthCallbackChecks
impl Default for OAuthCallbackChecks
source§fn default() -> OAuthCallbackChecks
fn default() -> OAuthCallbackChecks
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OAuthCallbackChecks
impl<'de> Deserialize<'de> for OAuthCallbackChecks
source§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
Auto Trait Implementations§
impl RefUnwindSafe for OAuthCallbackChecks
impl Send for OAuthCallbackChecks
impl Sync for OAuthCallbackChecks
impl Unpin for OAuthCallbackChecks
impl UnwindSafe for OAuthCallbackChecks
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more