pub struct AuthenticateOptions {
pub auth_url: String,
pub callback_scheme: String,
pub prefers_ephemeral_session: Option<bool>,
}Fields§
§auth_url: StringFully-qualified URL of the OAuth authorization endpoint to load.
callback_scheme: StringURL scheme the system should intercept (e.g. eurora). Must NOT
include ://.
prefers_ephemeral_session: Option<bool>When true, the session uses an ephemeral cookie store with no
shared state with Safari. Defaults to true, which is the
privacy-respecting default for OAuth.
Trait Implementations§
Source§impl Clone for AuthenticateOptions
impl Clone for AuthenticateOptions
Source§fn clone(&self) -> AuthenticateOptions
fn clone(&self) -> AuthenticateOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthenticateOptions
impl Debug for AuthenticateOptions
Source§impl<'de> Deserialize<'de> for AuthenticateOptions
impl<'de> Deserialize<'de> for AuthenticateOptions
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
Auto Trait Implementations§
impl Freeze for AuthenticateOptions
impl RefUnwindSafe for AuthenticateOptions
impl Send for AuthenticateOptions
impl Sync for AuthenticateOptions
impl Unpin for AuthenticateOptions
impl UnsafeUnpin for AuthenticateOptions
impl UnwindSafe for AuthenticateOptions
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