pub struct DirectAuthenticator { /* private fields */ }Expand description
Direct authentication authenticator implementation
Implementations§
Trait Implementations§
Source§impl Authenticate for DirectAuthenticator
impl Authenticate for DirectAuthenticator
Source§fn describe(&self) -> Result<AuthenticatorInfo>
fn describe(&self) -> Result<AuthenticatorInfo>
Return a description of the authenticator. Read more
Source§fn authenticate(
&self,
auth: &RequestAuth,
_: Option<ConnectionMetadata>,
) -> Result<Application>
fn authenticate( &self, auth: &RequestAuth, _: Option<ConnectionMetadata>, ) -> Result<Application>
Authenticates a
RequestAuth payload and returns the Application if successful. A
optional ConnectionMetadata object is passed in too, since it is sometimes possible to
perform authentication based on the connection’s metadata (i.e. as is the case for UNIX
domain sockets with Unix peer credentials). Read moreSource§impl Clone for DirectAuthenticator
impl Clone for DirectAuthenticator
Source§fn clone(&self) -> DirectAuthenticator
fn clone(&self) -> DirectAuthenticator
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 moreAuto Trait Implementations§
impl Freeze for DirectAuthenticator
impl RefUnwindSafe for DirectAuthenticator
impl Send for DirectAuthenticator
impl Sync for DirectAuthenticator
impl Unpin for DirectAuthenticator
impl UnwindSafe for DirectAuthenticator
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