pub enum AuthBucket {
Login,
Send,
Verify,
}Expand description
Auth endpoint families with distinct rate limits.
Variants§
Login
/api/auth/password/login, /api/auth/totp/verify — credential
guesses. Strictest cap.
Send
/api/auth/password/register, /api/auth/magic-link/send,
/api/auth/magic/send, /api/auth/password/reset/request,
/api/auth/phone/send-code — sends an email/SMS or creates a
user. Caps email-bombing + signup spam.
Verify
/api/auth/passkey/login/finish, /api/auth/siwe/verify —
public verify endpoints with cryptographic gates. Caps the
signature-fuzzing class.
Trait Implementations§
Source§impl Clone for AuthBucket
impl Clone for AuthBucket
Source§fn clone(&self) -> AuthBucket
fn clone(&self) -> AuthBucket
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 AuthBucket
impl Debug for AuthBucket
Source§impl Hash for AuthBucket
impl Hash for AuthBucket
Source§impl PartialEq for AuthBucket
impl PartialEq for AuthBucket
impl Copy for AuthBucket
impl Eq for AuthBucket
impl StructuralPartialEq for AuthBucket
Auto Trait Implementations§
impl Freeze for AuthBucket
impl RefUnwindSafe for AuthBucket
impl Send for AuthBucket
impl Sync for AuthBucket
impl Unpin for AuthBucket
impl UnsafeUnpin for AuthBucket
impl UnwindSafe for AuthBucket
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