pub struct OAuthFlow {
pub authorization_url: String,
pub pkce_verifier: String,
pub state: String,
}Expand description
OAuth authorization flow information
Contains the authorization URL and PKCE verifier needed to complete the OAuth flow.
Fields§
The URL the user should visit to authorize the application
pkce_verifier: StringThe PKCE verifier used to exchange the authorization code for tokens
state: StringThe CSRF state token for security validation
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