pub struct SingleAuthHandler(_);
Expand description

Implementation of AuthHandler that uses the same AuthMethodHandler for all methods.

Implementations

Trait Implementations

Callback when authentication is beginning, providing available authentication methods and returning selected authentication methods to pursue. Read more
Callback when authentication starts for a specific method.
Callback when authentication is finished and no more requests will be received.
Callback when a challenge is received, returning answers to the given questions.
Callback when a verification request is received, returning true if approvided or false if unapproved. Read more
Callback when information is received. To fail, return an error from this function.
Callback when an error is received. Regardless of the result returned, this will terminate the authenticator. In the situation where a custom error would be preferred, have this callback return an error. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.