pub struct CallbackParams {
pub code: String,
pub state: State,
}Expand description
Callback query parameters from PAS.
PAS appends ?code=…&state=… to the redirect_uri at successful
authentication; the consumer’s callback_handler parses these from
the request and passes them to [super::RelyingParty::complete].
Fields§
§code: String§state: StateTrait Implementations§
Source§impl Clone for CallbackParams
impl Clone for CallbackParams
Source§fn clone(&self) -> CallbackParams
fn clone(&self) -> CallbackParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CallbackParams
impl RefUnwindSafe for CallbackParams
impl Send for CallbackParams
impl Sync for CallbackParams
impl Unpin for CallbackParams
impl UnsafeUnpin for CallbackParams
impl UnwindSafe for CallbackParams
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