[][src]Module scram::server

Structs

ClientFinal

Represents the stage after the server has generated its first response to the client. This struct is responsible for handling the client's final message.

PasswordInfo

Contains information about stored passwords. In particular, it stores the password that has been salted and hashed, the salt that was used, and the number of iterations of the hashing algorithm

ScramServer

Responds to client authentication challenges. It's the entrypoint for the SCRAM server side implementation.

ServerFinal

Represents the final stage of authentication, after we have generated the final server message to send to the client

ServerFirst

Represents the first stage in the authentication process, after the client has submitted their first message. This struct is responsible for responding to the message

Enums

AuthenticationStatus

The status of authentication after the final client message has been received by the server.

Traits

AuthenticationProvider

An AuthenticationProvider looks up password information for a given user, and also checks if a user is authorized to act on another user's behalf. The authorization component is optional, and if not implemented will simply allow users to act on their own behalf, and no one else's.