pub struct AuthorizationRequest {
pub authorization_url: Url,
pub state: String,
pub request_uri: String,
pub expires_in: u64,
pub stored_state: StoredStateEntry,
}Expand description
The result of initiating an OAuth authorization flow.
Fields§
The complete browser redirection URL pointing to the authorization server.
state: StringThe unique state token.
request_uri: StringThe back-channel PAR request URI (urn:ietf:params:oauth:request_uri:...).
expires_in: u64Lifetime of the PAR request URI in seconds.
stored_state: StoredStateEntryComplete stored state entry for session persistence.
Trait Implementations§
Source§impl Clone for AuthorizationRequest
impl Clone for AuthorizationRequest
Auto Trait Implementations§
impl Freeze for AuthorizationRequest
impl RefUnwindSafe for AuthorizationRequest
impl Send for AuthorizationRequest
impl Sync for AuthorizationRequest
impl Unpin for AuthorizationRequest
impl UnsafeUnpin for AuthorizationRequest
impl UnwindSafe for AuthorizationRequest
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