pub struct OpenAuthOptions {Show 18 fields
pub base_url: Option<String>,
pub base_path: Option<String>,
pub secret: Option<String>,
pub secrets: Vec<SecretEntry>,
pub trusted_origins: TrustedOriginOptions,
pub disabled_paths: Vec<String>,
pub session: SessionOptions,
pub user: UserOptions,
pub email_verification: EmailVerificationOptions,
pub password: PasswordOptions,
pub account: AccountOptions,
pub advanced: AdvancedOptions,
pub rate_limit: RateLimitOptions,
pub plugins: Vec<AuthPlugin>,
pub social_providers: Vec<Arc<dyn SocialOAuthProvider>>,
pub production: bool,
pub telemetry: TelemetryOptions,
pub experimental: ExperimentalOptions,
}Expand description
Top-level OpenAuth configuration.
Fields§
§base_url: Option<String>§base_path: Option<String>§secret: Option<String>§secrets: Vec<SecretEntry>§trusted_origins: TrustedOriginOptions§disabled_paths: Vec<String>§session: SessionOptions§user: UserOptions§email_verification: EmailVerificationOptions§password: PasswordOptions§account: AccountOptions§advanced: AdvancedOptions§rate_limit: RateLimitOptions§plugins: Vec<AuthPlugin>§production: bool§telemetry: TelemetryOptions§experimental: ExperimentalOptionsTrait Implementations§
Source§impl Clone for OpenAuthOptions
impl Clone for OpenAuthOptions
Source§fn clone(&self) -> OpenAuthOptions
fn clone(&self) -> OpenAuthOptions
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 OpenAuthOptions
impl Debug for OpenAuthOptions
Source§impl Default for OpenAuthOptions
impl Default for OpenAuthOptions
Source§fn default() -> OpenAuthOptions
fn default() -> OpenAuthOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpenAuthOptions
impl !RefUnwindSafe for OpenAuthOptions
impl Send for OpenAuthOptions
impl Sync for OpenAuthOptions
impl Unpin for OpenAuthOptions
impl UnsafeUnpin for OpenAuthOptions
impl !UnwindSafe for OpenAuthOptions
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