\User_Auth_ModelBackend

Backend to authenticate against the User model.

Summary

Methods
Properties
Constants
getUser()
getCredential()
authenticate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getUser()

getUser(  $user_id) : \User_Account

Given a user id, retrieve it.

In the case of the User backend, the $user_id is the login.

Parameters

$user_id

Returns

\User_Account

getCredential()

getCredential(  $user_id) : \User_Account

Returns credential data of given user if exist

In the case of the User backend, the $user_id is the login.

Parameters

$user_id

Returns

\User_Account

authenticate()

authenticate(  $auth_data) 

Given an array with the authentication data, auth the user and return it.

Parameters

$auth_data