__callStatic()
_driver_check()
_init()
_register_verified()
_unregister_verified()
check()
forge()
instance()
login()
logout()
register_driver_type()
unload()
unregister_driver_type()
verified()
_driver_instance()
__construct()
$_drivers
$_instance
$_instances
$_verified
$_verify_multiple
Auth
package | Fuel |
---|---|
subpackage | Auth |
__callStatic($method, $args) : mixed
string
array
\Auth\BadMethodCallException |
---|
mixed
_driver_check(string $type, mixed $condition, string $driver, Array $entity) : bool
string
driver type
mixed
condition for which the driver is checked
string
driver id or null to check all
Array
identifier to check, should default to current user or relation therof and be in the form of array(driver_id, user_id)
bool
_init()
_register_verified(\Auth\Auth_Login_Driver $driver)
Auth_Login_Driver
_unregister_verified(\Auth\Auth_Login_Driver $driver)
Auth_Login_Driver
check(string | Array $specific) : bool
string
Array
specific driver or drivers, in this case it will always terminate after first success
bool
forge(Array $custom)
Array
settings for the new driver
\Auth\AuthException |
on driver load failure |
---|
instance(string $instance) : \Auth\Auth_Login_Driver
login($username_or_email, $password) : bool
string
string
bool
logout()
register_driver_type(string $type, string $check_method) : bool
string
name of the driver type, may not conflict with class method name
string
name of the method to use for checking this type of driver, also cannot conflict with method
bool
unload(string $driver_id)
string
driver id or null for default driver
\Auth\AuthException |
when $driver_id isn't valid or true |
---|
unregister_driver_type(string $type) : bool
string
name of the driver type
bool
verified(null | string $driver) : Array | \Auth\Auth_Login_Driver | false
null
string
driver id or null for all verified driver in an array
_driver_instance(string $type, string | true $instance) : \Auth\Auth_Driver | array
string
driver type
string
true
driver id or true for an array of all loaded drivers
\Auth\Auth_Driver
array
__construct()
$_drivers : Array
$_instances : Array
$_verified : Array
$_verify_multiple : bool