[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/phpbb/passwords/driver/ -> driver_interface.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 69 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

driver_interface:: (6 methods):
  is_supported()
  is_legacy()
  get_prefix()
  hash()
  check()
  get_settings_only()


Interface: driver_interface  - X-Ref

is_supported()   X-Ref
Check if hash type is supported

return: bool        True if supported, false if not

is_legacy()   X-Ref
Check if hash type is a legacy hash type

return: bool        True if it's a legacy hash type, false if not

get_prefix()   X-Ref
Returns the hash prefix

return: string    Hash prefix

hash($password)   X-Ref
Hash the password

param: string $password The password that should be hashed
return: bool|string    Password hash or false if something went wrong

check($password, $hash, $user_row = array()   X-Ref
Check the password against the supplied hash

param: string        $password The password to check
param: string        $hash The password hash to check against
param: array        $user_row User's row in users table
return: bool        True if password is correct, else false

get_settings_only($hash, $full = false)   X-Ref
Get only the settings of the specified hash

param: string        $hash Password hash
param: bool        $full Return full settings or only settings
return: string    String containing the hash settings



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1