Expand description
The trait definition of authentication providers.
Traitsยง
- Authentication
Provider - An authentication provider executes the authentication for an
Authentication
object and returns either a object ofUserDetails
(implementation of the marker trait) or anAuthenticationError
. - Authentication
Provider Clone - An authentication provider must be cloneable,
send
andsync
. Therefore it has to implement theAuthenticationProviderClone
trait to be cloneable as a boxed object.