pub struct BaseOAuthProviderOptions {
pub client_id: String,
pub client_secret: Option<String>,
pub scopes: Option<Vec<String>>,
pub redirect_uri: Option<String>,
pub pkce: bool,
pub disable_implicit_sign_up: bool,
pub disable_sign_up: bool,
pub override_user_info: bool,
}Fields§
§client_id: String§client_secret: Option<String>§scopes: Option<Vec<String>>§redirect_uri: Option<String>§pkce: bool§disable_implicit_sign_up: bool§disable_sign_up: bool§override_user_info: boolTrait Implementations§
Source§impl Clone for BaseOAuthProviderOptions
impl Clone for BaseOAuthProviderOptions
Source§fn clone(&self) -> BaseOAuthProviderOptions
fn clone(&self) -> BaseOAuthProviderOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BaseOAuthProviderOptions
impl Debug for BaseOAuthProviderOptions
Source§impl Default for BaseOAuthProviderOptions
impl Default for BaseOAuthProviderOptions
Source§fn default() -> BaseOAuthProviderOptions
fn default() -> BaseOAuthProviderOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for BaseOAuthProviderOptions
impl PartialEq for BaseOAuthProviderOptions
Source§fn eq(&self, other: &BaseOAuthProviderOptions) -> bool
fn eq(&self, other: &BaseOAuthProviderOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BaseOAuthProviderOptions
impl StructuralPartialEq for BaseOAuthProviderOptions
Auto Trait Implementations§
impl Freeze for BaseOAuthProviderOptions
impl RefUnwindSafe for BaseOAuthProviderOptions
impl Send for BaseOAuthProviderOptions
impl Sync for BaseOAuthProviderOptions
impl Unpin for BaseOAuthProviderOptions
impl UnsafeUnpin for BaseOAuthProviderOptions
impl UnwindSafe for BaseOAuthProviderOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.