phpBB API Documentation
Class

phpbb\passwords\driver\base

abstract class base implements driver_interface

Methods

__construct(config $config, helper $helper)

Constructor of passwords driver object

bool is_supported()

Check if hash type is supported

bool is_legacy()

Check if hash type is a legacy hash type

string get_settings_only(string $hash, bool $full = false)

Get only the settings of the specified hash

Details

at line 33
public __construct(config $config, helper $helper)

Constructor of passwords driver object

Parameters

config $config phpBB config
helper $helper Password driver helper

at line 42
public bool is_supported()

Check if hash type is supported

Return Value

bool True if supported, false if not

at line 50
public bool is_legacy()

Check if hash type is a legacy hash type

Return Value

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

at line 58
public string get_settings_only(string $hash, bool $full = false)

Get only the settings of the specified hash

Parameters

string $hash Password hash
bool $full Return full settings or only settings related to the salt

Return Value

string String containing the hash settings