Module authentication_provider

Module authentication_provider 

Source
Expand description

The trait definition of authentication providers.

Traitsยง

AuthenticationProvider
An authentication provider executes the authentication for an Authentication object and returns either a object of UserDetails (implementation of the marker trait) or an AuthenticationError.
AuthenticationProviderClone
An authentication provider must be cloneable, send and sync. Therefore it has to implement the AuthenticationProviderClone trait to be cloneable as a boxed object.