You are here

protected property AccessDeniedSubscriber::$account in SAML Authentication 8.2

Same name and namespace in other branches
  1. 8.3 src/EventSubscriber/AccessDeniedSubscriber.php \Drupal\samlauth\EventSubscriber\AccessDeniedSubscriber::account
  2. 4.x src/EventSubscriber/AccessDeniedSubscriber.php \Drupal\samlauth\EventSubscriber\AccessDeniedSubscriber::account

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

src/EventSubscriber/AccessDeniedSubscriber.php, line 24

Class

AccessDeniedSubscriber
Redirects logged-in users when access is denied to /saml/login.

Namespace

Drupal\samlauth\EventSubscriber

Code

protected $account;