Provides user authentication functions for the admin
This is the code documentation for the SproutCMS project
| Search documentation | class AuthProvides user authentication functions for the admin 
 Functions
 public checkAlgorithmbool Auth::checkAlgorithm (  int $algorithm  ); Checks if a given password algorithm is available public defaultAlgorithmint Auth::defaultAlgorithm (  ); Return the algorithm for new accounts. Existing accounts will be re-crypted into this algorithm upon next login. public doPasswordCheckbool Auth::doPasswordCheck (  string $known_hash ,  int $algorithm ,  string $salt ,  string $user_string  ); Check a password hash against an entered password public hashPasswordarray Auth::hashPassword (  string $password [,  int $algorithm ] ); Return a hashed password, password algorithm, and salt, for inserting into the database | 
| Powered by Pelzini, version 0.9.0 | Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |   |