PHP Class Authsome, spark_plug

Datei anzeigen Open project: jedt/spark_plug Class Usage Examples

Public Methods

Method Description
check ( $access = null )
get ( $field = null )
hash ( $password, $method = 'md5', $salt = false )
instance ( $setInstance = null )
login ( $type = 'credentials', $credentials = null )
logout ( )
persist ( $duration = '2 weeks' )

Method Details

check() public static method

public static check ( $access = null )

get() public static method

public static get ( $field = null )

hash() public static method

public static hash ( $password, $method = 'md5', $salt = false )

instance() static public method

static public instance ( $setInstance = null )

login() public static method

public static login ( $type = 'credentials', $credentials = null )

logout() public static method

public static logout ( )

persist() public static method

public static persist ( $duration = '2 weeks' )