Backend\Classes\AuthManager

Overview

AuthManager is backend authentication manager.

Extends
Implements
  • 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

{@inheritdoc}

protected $sessionKey

{@inheritdoc}

protected $userModel

{@inheritdoc}

protected string $roleModel

roleModel class

protected $groupModel

{@inheritdoc}

protected $throttleModel

{@inheritdoc}

protected $requireActivation

{@inheritdoc}

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

{@inheritdoc}

protected validateUserModel()

protected validateUserModel($user): void

{@inheritdoc}

Show inherited protected methods

Inherited Protected Methods