Crate user_trait

Source
Expand description

Provides basic traits and helper structures for user authentication.

Structs§

PlainText
A simple implementation of a user with plaintext username and password.
UserBox
A wrapper for a boxed user implementing the User trait.
UserVec
A Vec of UserBox with additional functionality.
UsersMap
A map structure that stores users with both identity and authentication mappings.

Traits§

User
A cloneable UserTrait.
UserAuthenticator
Trait for asynchronous user authentication.
UserTrait
Trait for user authentication.