\Hazaar\Auth
Helper
Summary
Methods Properties Constants
get
has
set
No constants
Properties
InheritedStatic
$autologin_cookie
$autologin_cookie
InheritedStatic
$autologin_period
$autologin_period
InheritedStatic
$credential_encryption
$credential_encryption
InheritedStatic
$credential_encryption_count
$credential_encryption_count
Inherited
$namespace
$namespace
Inherited
$session
$session
Methods
queryAuth()
queryAuth($identity, $credential = null, $extra = Array ( ) )

Parameters

$identity

No description

$credential

No description

$extra

No description

Inherited
__get()
__get($key)

Parameters

$key

No description

Inherited
__isset()
__isset($key)

Parameters

$key

No description

Inherited
__set()
__set($key, $value)

Parameters

$key

No description

$value

No description

Inherited
authenticate()
authenticate($identity = null, $credential = null, $autologin = false)

Parameters

$identity

No description

$credential

No description

$autologin

No description

Inherited
authenticated()
authenticated()
Inherited
check()
check($credential) : boolean
Check that the supplied password is correct for the current identity.

This is useful for checking an account password before allowing something important to be updated. This does the same steps as authenticate() but doesn’t actually do the authentication.

Parameters

$credentialmixed

No description

Returns

boolean
Inherited
deauth()
deauth()
Inherited
get()
get($key)

Parameters

$key

No description

Inherited
getCredential()
getCredential($credential = null)

Parameters

$credential

No description

Inherited
getIdentity()
getIdentity()
Inherited
getUserData()
getUserData()
Inherited
has()
has($key)

Parameters

$key

No description

Inherited
offsetExists()
offsetExists($key)
Array Access Methods

These methods allows accessing user data as array attributes of the auth object. These methods do not allow this data to be modified in any way.

Parameters

$key

No description

Inherited
offsetGet()
offsetGet($key)

Parameters

$key

No description

Inherited
offsetSet()
offsetSet($key, $value)

Parameters

$key

No description

$value

No description

Inherited
offsetUnset()
offsetUnset($key)

Parameters

$key

No description

Inherited
set()
set($key, $value)

Parameters

$key

No description

$value

No description

Inherited
setCredential()
setCredential($credential)

Parameters

$credential

No description

InheritedStatic
setCredentialEncryption()
setCredentialEncryption($method, $count = 1)

Parameters

$method

No description

$count

No description

Inherited
setDataFields()
setDataFields($fields)

Parameters

$fieldsarray

No description

Inherited
setIdentity()
setIdentity($identity)

Parameters

$identity

No description