AuthManager is backend authentication manager.

  • Illuminate\Contracts\Auth\Guard
  • Illuminate\Contracts\Auth\StatefulGuard

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

protected static $instance


protected $sessionKey


protected $userModel


protected string $roleModel

roleModel class

protected $groupModel


protected $throttleModel


protected $requireActivation


Show inherited protected properties

Inherited Protected Properties

Public Methods

public userHasAccess()

public userHasAccess($permissions, $all = true): void

userHasAccess is identical to User::hasAccess

public userHasPermission()

public userHasPermission($permissions, $all = true): void

userHasAccess is identical to User::hasPermission

Show inherited public methods

Inherited Public Methods

Protected Methods

protected createUserModelQuery()

protected createUserModelQuery(): void


protected validateUserModel()

protected validateUserModel($user): void


Show inherited protected methods

Inherited Protected Methods