Struct clio_auth::AuthContext
source · pub struct AuthContext {
pub auth_code: AuthorizationCode,
pub state: CsrfToken,
pub pkce_verifier: PkceCodeVerifier,
}
Expand description
Holds intermediate values needed to complete the authorization flow.
These values are generated during the authorize step, and provided to the caller after validation. They can then be used for the code exchange.
Fields§
§auth_code: AuthorizationCode
The authorization code obtained from the Authorize step.
state: CsrfToken
§pkce_verifier: PkceCodeVerifier
The PKCE verifier that will be supplied to the Exchange Code step.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AuthContext
impl Send for AuthContext
impl Sync for AuthContext
impl Unpin for AuthContext
impl UnwindSafe for AuthContext
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