27 public function ok($value)
29 return new Result\Ok($value);
40 return new Result\Error($e);
52 if (!$this->colorfactory) {
53 $this->colorfactory =
new Color\Factory();
55 return $this->colorfactory->build($value);
65 public function uri($uri_string)
67 return new URI($uri_string);
color($value)
Color is a data type representing a color in HTML.
error($e)
Get an error result.
A password is used as part of credentials for authentication.
$colorfactory
cache for color factory.
The scope of this class is split ilias-conform URI's into components.
password($pass)
Get a password.
clientId(string $clientId)
ok($value)
Get an ok result.
uri($uri_string)
Object representing an uri valid according to RFC 3986 with restrictions imposed on valid characters ...
if(array_key_exists('provider', $_GET)) elseif(array_key_exists('provider', $_SESSION)) if(!in_array($providerName, ['Google', 'Microsoft', 'Yahoo'])) $clientId