Module actix_web_security::authentication::scheme::authentication_provider[][src]

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.