pub struct DefaultAuthProvider;Expand description
Provider that offers nothing, deferring to the backend transport default.
Behavior-preserving: a repository opened with this provider authenticates exactly as it did before the auth seam was wired.
Trait Implementations§
Source§impl AuthProvider for DefaultAuthProvider
impl AuthProvider for DefaultAuthProvider
Source§fn transport_auth(
&self,
_remote: Option<&str>,
) -> AppResult<Option<TransportAuth>>
fn transport_auth( &self, _remote: Option<&str>, ) -> AppResult<Option<TransportAuth>>
Resolves transport auth for an optional remote name. Read more
Source§fn signing_config(&self) -> AppResult<Option<SigningConfig>>
fn signing_config(&self) -> AppResult<Option<SigningConfig>>
Resolves signing configuration for commit-producing operations. Read more
Source§impl Clone for DefaultAuthProvider
impl Clone for DefaultAuthProvider
Source§fn clone(&self) -> DefaultAuthProvider
fn clone(&self) -> DefaultAuthProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DefaultAuthProvider
Source§impl Debug for DefaultAuthProvider
impl Debug for DefaultAuthProvider
Source§impl Default for DefaultAuthProvider
impl Default for DefaultAuthProvider
Source§fn default() -> DefaultAuthProvider
fn default() -> DefaultAuthProvider
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultAuthProvider
impl RefUnwindSafe for DefaultAuthProvider
impl Send for DefaultAuthProvider
impl Sync for DefaultAuthProvider
impl Unpin for DefaultAuthProvider
impl UnsafeUnpin for DefaultAuthProvider
impl UnwindSafe for DefaultAuthProvider
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