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
Extending this class<?php /** * New class description goes here * * @author Your Name, 2024-11-25 **/ class NewClassName extends Auth { /** * Check a password hash against an entered password **/ public function doPasswordCheck (string $known_hash, int $algorithm, string $salt, string $user_string) { // Method code goes here } /** * Return the algorithm for new accounts. * Existing accounts will be re-crypted into this algorithm upon next login. **/ public function defaultAlgorithm () { // Method code goes here } /** * Return a hashed password, password algorithm, and salt, for inserting into the database **/ public function hashPassword (string $password, int $algorithm) { // Method code goes here } /** * Checks if a given password algorithm is available **/ public function checkAlgorithm (int $algorithm) { // Method code goes here } } ?> |
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 |