Documentation

Auth extends Auth
in package

Table of Contents

$app  : App
$resolvedInstance  : array<string|int, mixed>
__callStatic()  : mixed
authSession()  :
check()  :
clearResolvedInstances()  : mixed
clear
guard()  :
login()  :
loginWithEmail()  :
loginWithEmailOrUserName()  :
loginWithUserName()  :
logout()  :
permission()  :
rememberMe()  :
role()  :
roleName()  :
setFacadeApplication()  : mixed
{@inheritDoc}
user()  :
userID()  :
getFacadeAccessor()  : string
getFacadeRoot()  : object|stdClass
resolveFacadeInstance()  : object

Properties

$resolvedInstance

protected static array<string|int, mixed> $resolvedInstance

Methods

__callStatic()

public static __callStatic( $method,  $args) : mixed
Parameters
$method :
$args :
Tags
throws
Exception
Return values
mixed

authSession()

public static authSession(mixed $key, mixed $value) :

Parameters
$key : mixed
$value : mixed
Return values

check()

public static check() :

Return values

clearResolvedInstances()

clear

public static clearResolvedInstances() : mixed
Return values
mixed

guard()

public static guard(mixed $groupName) :

Parameters
$groupName : mixed
Return values

login()

public static login(mixed $password, mixed $userInfo, mixed $remember) :

Parameters
$password : mixed
$userInfo : mixed
$remember : mixed
Return values

loginWithEmail()

public static loginWithEmail(string $password, string $email, mixed $remember, array<string|int, mixed> $where = []) :

Parameters
$password : string
$email : string
$remember : mixed
$where = [] : array<string|int, mixed>
Return values

loginWithEmailOrUserName()

public static loginWithEmailOrUserName(string $password, string $userNameOrEmail, mixed $remember, array<string|int, mixed> $where = []) :

Parameters
$password : string
$userNameOrEmail : string
$remember : mixed
$where = [] : array<string|int, mixed>
Return values

loginWithUserName()

public static loginWithUserName(string $password, string $userName, mixed $remember, array<string|int, mixed> $where = []) :

Parameters
$password : string
$userName : string
$remember : mixed
$where = [] : array<string|int, mixed>
Return values

logout()

public static logout(bool $clear_all = false) :
Parameters
$clear_all = false : bool
Return values

permission()

public static permission(mixed $permissions) :

Parameters
$permissions : mixed
Return values

rememberMe()

public static rememberMe() :

Return values

role()

public static role() :

Return values

roleName()

public static roleName() :

Return values

setFacadeApplication()

{@inheritDoc}

public static setFacadeApplication(App $app) : mixed
Parameters
$app : App
Return values
mixed

user()

public static user() :

Return values

userID()

public static userID() :

Return values

getFacadeAccessor()

protected abstract static getFacadeAccessor() : string
Return values
string

getFacadeRoot()

protected static getFacadeRoot() : object|stdClass
Return values
object|stdClass

resolveFacadeInstance()

protected static resolveFacadeInstance(string $mainClass) : object
Parameters
$mainClass : string
Return values
object

Search results