pub enum Auth {
None,
DPoP(DPoPAuth),
AppPassword(AppPasswordAuth),
}Expand description
Authentication method for AT Protocol XRPC requests.
Supports multiple authentication schemes including unauthenticated requests, DPoP (Demonstration of Proof-of-Possession) tokens, and app password bearer tokens.
Variants§
None
No authentication - for public endpoints that don’t require authentication
DPoP(DPoPAuth)
DPoP authentication with proof-of-possession tokens and OAuth access token
AppPassword(AppPasswordAuth)
App password authentication using JWT bearer tokens
Auto Trait Implementations§
impl Freeze for Auth
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnwindSafe for Auth
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