pub struct Anonymous;Expand description
Applies no credentials at all.
Used for public endpoints such as shared links and the
capabilities/login-flow endpoints, which must not carry credentials even
when the client holds them. Nextcloud’s OCS API requires the
OCS-APIRequest: true marker header, so it is set here to keep every
unauthenticated OCS call valid.
Implementations§
Trait Implementations§
Source§impl AuthProvider for Anonymous
impl AuthProvider for Anonymous
Source§fn authenticate(&self, headers: &mut Headers)
fn authenticate(&self, headers: &mut Headers)
Applies this provider’s credentials to
headers. Read moreimpl Copy for Anonymous
impl Eq for Anonymous
impl StructuralPartialEq for Anonymous
Auto Trait Implementations§
impl Freeze for Anonymous
impl RefUnwindSafe for Anonymous
impl Send for Anonymous
impl Sync for Anonymous
impl Unpin for Anonymous
impl UnsafeUnpin for Anonymous
impl UnwindSafe for Anonymous
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