pub struct OAuthOptions {
pub redirect_to: Option<String>,
pub scopes: Option<Vec<String>>,
pub query_params: Option<HashMap<String, String>>,
}
Expand description
OAuth sign-in options
Fields§
§redirect_to: Option<String>
Custom redirect URL after sign-in
scopes: Option<Vec<String>>
Additional scopes to request
query_params: Option<HashMap<String, String>>
Additional provider-specific options
Trait Implementations§
Source§impl Clone for OAuthOptions
impl Clone for OAuthOptions
Source§fn clone(&self) -> OAuthOptions
fn clone(&self) -> OAuthOptions
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 OAuthOptions
impl Debug for OAuthOptions
Source§impl Default for OAuthOptions
impl Default for OAuthOptions
Source§fn default() -> OAuthOptions
fn default() -> OAuthOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OAuthOptions
impl RefUnwindSafe for OAuthOptions
impl Send for OAuthOptions
impl Sync for OAuthOptions
impl Unpin for OAuthOptions
impl UnwindSafe for OAuthOptions
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