30 assert(
'is_string($authsource)');
31 assert(
'is_string($reason)');
38 '%AUTHSOURCE%' => htmlspecialchars(var_export($this->authsource, TRUE)),
39 '%REASON%' => htmlspecialchars(var_export($this->reason, TRUE))
44 $this->message =
"Error with authentication source '$authsource': $reason";
getReason()
Retrieve the reason why the request was invalid.
getAuthSource()
Retrieve the authsource module name from where this error was thrown.
$authsource
Authsource module name.
Create styles array
The data for the language used.
$reason
Reason why this request was invalid.
__construct($authsource, $reason, $cause=NULL)
Create a new AuthSource error.