pub struct ExternalLoginAuthorizationStart {
pub expires_at: i64,
pub state: String,
pub url: String,
pub extra: Map<String, Value>,
}Expand description
Browser-session-bound authorization request. Retain the session cookie, open url in that browser session and let the provider redirect to the callback.
Fields§
§expires_at: i64Pending authorization expiry as Unix epoch seconds; normally 600 seconds after creation.
state: StringOpaque, single-use authorization state. Do not reuse it or substitute another browser session.
url: StringProvider authorization URL including state, nonce and the PKCE challenge.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExternalLoginAuthorizationStart
impl<'de> Deserialize<'de> for ExternalLoginAuthorizationStart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ExternalLoginAuthorizationStart
Auto Trait Implementations§
impl Freeze for ExternalLoginAuthorizationStart
impl RefUnwindSafe for ExternalLoginAuthorizationStart
impl Send for ExternalLoginAuthorizationStart
impl Sync for ExternalLoginAuthorizationStart
impl Unpin for ExternalLoginAuthorizationStart
impl UnsafeUnpin for ExternalLoginAuthorizationStart
impl UnwindSafe for ExternalLoginAuthorizationStart
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