pub enum AuthProviderKind {
Token,
Password,
OAuth,
MagicLink,
Passkey,
}Expand description
What kind of auth flow a provider implements. Runtime uses this to
decide which HTTP routes to mount (e.g. only OAuth needs a
/auth/callback route) and to surface provider shape in admin UI.
Variants§
Token
Stateless token validation (JWT, opaque bearer). No login flow.
Password
Username/password against a backing store.
OAuth
Redirect-based OAuth 2 / OIDC.
MagicLink
Send a one-time link to an address (email, SMS).
Passkey
WebAuthn / passkeys.
Trait Implementations§
Source§impl Clone for AuthProviderKind
impl Clone for AuthProviderKind
Source§fn clone(&self) -> AuthProviderKind
fn clone(&self) -> AuthProviderKind
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 AuthProviderKind
impl Debug for AuthProviderKind
Source§impl<'de> Deserialize<'de> for AuthProviderKind
impl<'de> Deserialize<'de> for AuthProviderKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthProviderKind
impl PartialEq for AuthProviderKind
Source§impl Serialize for AuthProviderKind
impl Serialize for AuthProviderKind
impl Copy for AuthProviderKind
impl Eq for AuthProviderKind
impl StructuralPartialEq for AuthProviderKind
Auto Trait Implementations§
impl Freeze for AuthProviderKind
impl RefUnwindSafe for AuthProviderKind
impl Send for AuthProviderKind
impl Sync for AuthProviderKind
impl Unpin for AuthProviderKind
impl UnsafeUnpin for AuthProviderKind
impl UnwindSafe for AuthProviderKind
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