You are here

public function CasLoginException::getSubscriberCancelReason in CAS 2.x

Same name and namespace in other branches
  1. 8 src/Exception/CasLoginException.php \Drupal\cas\Exception\CasLoginException::getSubscriberCancelReason()

Returns the user message if login failed on a subscriber cancellation.

Return value

\Drupal\Component\Render\MarkupInterface|string|null The reason why login failed, if any.

File

src/Exception/CasLoginException.php, line 69

Class

CasLoginException
Exception occurring on login failure.

Namespace

Drupal\cas\Exception

Code

public function getSubscriberCancelReason() {
  return $this->subscriberCancelReason;
}