pub struct AccountConfig {
pub update_account_on_sign_in: bool,
pub account_linking: AccountLinkingConfig,
pub encrypt_oauth_tokens: bool,
pub store_account_cookie: bool,
pub store_state_strategy: OAuthStateStrategy,
pub skip_state_cookie_check: bool,
}Expand description
Account-level configuration: linking, token encryption, sign-in behavior.
Fields§
§update_account_on_sign_in: boolUpdate OAuth tokens on every sign-in (default: true)
account_linking: AccountLinkingConfigAccount linking settings
encrypt_oauth_tokens: boolEncrypt OAuth tokens at rest (default: false)
Store account data in an account cookie for OAuth-backed access token flows.
store_state_strategy: OAuthStateStrategyWhere to persist OAuth state during the authorization flow.
Skip state-cookie verification during callback processing.
This is security-sensitive and should stay disabled in normal use.
Trait Implementations§
Source§impl Clone for AccountConfig
impl Clone for AccountConfig
Source§fn clone(&self) -> AccountConfig
fn clone(&self) -> AccountConfig
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 AccountConfig
impl Debug for AccountConfig
Source§impl Default for AccountConfig
impl Default for AccountConfig
Source§fn default() -> AccountConfig
fn default() -> AccountConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AccountConfig
impl RefUnwindSafe for AccountConfig
impl Send for AccountConfig
impl Sync for AccountConfig
impl Unpin for AccountConfig
impl UnsafeUnpin for AccountConfig
impl UnwindSafe for AccountConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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