You are here

public function CasLoginException::getSubscriberCancelReason in CAS 8

Same name and namespace in other branches
  1. 2.x 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 68

Class

CasLoginException
Class CasLoginException.

Namespace

Drupal\cas\Exception

Code

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