You are here

public function CasPreLoginEvent::getCancelLoginReason in CAS 2.x

Same name and namespace in other branches
  1. 8 src/Event/CasPreLoginEvent.php \Drupal\cas\Event\CasPreLoginEvent::getCancelLoginReason()

Returns a user message explaining why the login process is asked to cancel.

Return value

\Drupal\Component\Render\MarkupInterface|string|null The reason why the login process is asked to cancel, if any has been set.

File

src/Event/CasPreLoginEvent.php, line 132

Class

CasPreLoginEvent
Class CasPreLoginEvent.

Namespace

Drupal\cas\Event

Code

public function getCancelLoginReason() {
  return $this->cancelLoginReason;
}