\Pivot\Authentication\ManagersSimpleAuthenticationManager

Simple Authentication Manager

Summary

Methods
Properties
Constants
__construct()
isValidPassword()
encrypt()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$bcrypt
N/A

Properties

$bcrypt

$bcrypt : \Pivot\Authentication\Managers\Zend\Crypt\Password\Bcrypt

bcrypt class

Type

\Pivot\Authentication\Managers\Zend\Crypt\Password\Bcrypt

Methods

__construct()

__construct() 

SimpleAuthenticationManager Construct

isValidPassword()

isValidPassword(string  $unsecuredPassword, string  $securedPassword) : boolean

Checks a password with bcrypt

Parameters

string $unsecuredPassword
string $securedPassword

Returns

boolean —

is valid

encrypt()

encrypt(string  $plainPassword) : string

Encrypt a password

Parameters

string $plainPassword

Returns

string