Skip to main content

AuthAccount

Trait AuthAccount 

Source
pub trait AuthAccount:
    Clone
    + Send
    + Sync
    + Serialize
    + Debug
    + 'static {
Show 15 methods // Required methods fn id(&self) -> Cow<'_, str>; fn account_id(&self) -> &str; fn provider_id(&self) -> &str; fn user_id(&self) -> Cow<'_, str>; fn access_token(&self) -> Option<&str>; fn refresh_token(&self) -> Option<&str>; fn id_token(&self) -> Option<&str>; fn access_token_expires_at(&self) -> Option<DateTime<Utc>>; fn refresh_token_expires_at(&self) -> Option<DateTime<Utc>>; fn scope(&self) -> Option<&str>; fn password(&self) -> Option<&str>; fn created_at(&self) -> DateTime<Utc>; fn updated_at(&self) -> DateTime<Utc>; // Provided methods fn adapter_snapshot(&self) -> Option<&AdapterOutput> { ... } fn additional_fields(&self) -> FieldOutput { ... }
}
Expand description

Trait representing an account entity (OAuth provider linking).

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§