pub struct OAuthFlow {
pub authorization_url: String,
pub verifier: String,
pub state: String,
pub mode: OAuthMode,
}Expand description
OAuth authorization flow information
Contains the authorization URL, PKCE verifier, and state token needed to complete the OAuth flow.
Fields§
The URL the user should visit to authorize the application
verifier: StringThe PKCE verifier used to exchange the authorization code for tokens
state: StringThe state token for CSRF protection
mode: OAuthModeThe OAuth mode (Max or Console)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OAuthFlow
impl RefUnwindSafe for OAuthFlow
impl Send for OAuthFlow
impl Sync for OAuthFlow
impl Unpin for OAuthFlow
impl UnwindSafe for OAuthFlow
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