Interface CryptDataSource
The data source interface used to define functions required by any data source.
Namespace: BSN\CryptUser
Copyright: Copyright 2013, Bryan Nielsen
Author: Bryan Nielsen, bnielsen1965@gmail.com
Located at Class/CryptDataSource.php
Copyright: Copyright 2013, Bryan Nielsen
Author: Bryan Nielsen, bnielsen1965@gmail.com
Located at Class/CryptDataSource.php
public
string
|
#
getSourceType( )
Get the source type. This function should return a string representing the type of data source, i.e. 'JSON' or 'MySQL'. |
public
array|boolean
|
#
getUserByName( string $username )
Get array of user elements that match a given name. The aray of user elements may come from any type of data source, a database table, a flat file, etc., but the returned user array must include the following elements: username, passwordHash, sslKey, flags |
public
array
|
|
public
boolean
|
|
public
boolean
|