User data container.
User data container.
Base trait for implementing user containers.
Attempts to authenticate a user with the supplied credentials.
Attempts to authenticate a user with the supplied credentials.
the ID of the user
the un-hashed user password
the RNG to be used for generating random strings
the DB to be used for performing the user query
authentication config object
Futurecore3.database.containers.core.LocalUser - the authenticated user, if the process is successful
Attempts to retrieve user authentication credentials from the supplied HTTP request.
Attempts to retrieve user authentication credentials from the supplied HTTP request.
the request to get credentials from
the requested credentials, if they were made available
Generates a new random string with the specified size.
Generates a new random string with the specified size.
the size of the string to be generated
the RNG to be used
the requested string
Hashes the supplied password the the specified salt.
Hashes the supplied password the the specified salt.
the password to hash
the salt to be used for the hashing
authentication config object
the hashed password
Hashes the supplied password with a new random salt.
Hashes the supplied password with a new random salt.
the password to hash
authentication config object
the RNG to be used to generate the salt
(hashedPassword, randomSalt)