class DefaultPasswordProvider implements PasswordContract

用户认证

Methods

mixed
check(PamAccount $pam, string $password, string $type = 'plain')

No description

mixed
genPassword(string $password, string $reg_datetime, string $password_key)

No description

Details

at line 19
mixed check(PamAccount $pam, string $password, string $type = 'plain')

No description

Parameters

PamAccount $pam 账号信息
string $password 密码
string $type

认证类型 [plain|明文;]

Return Value

mixed

at line 33
mixed genPassword(string $password, string $reg_datetime, string $password_key)

No description

Parameters

string $password 密码
string $reg_datetime 注册日期
string $password_key 账号KEY

Return Value

mixed