Lines Matching refs:options
46 public function challenge(?string $received = null, array $options = []): SaslContext
51 return $this->serverProcess($received, $options);
53 return $this->clientProcess($options);
57 protected function serverProcess(?Message $message, array $options): SaslContext
62 if (!(isset($options['validate']) && is_callable($options['validate']))) {
70 $this->context->setIsAuthenticated((bool) $options['validate']($authzId, $authcId, $password));
75 protected function clientProcess(array $options): SaslContext
77 if (!isset($options['username'])) {
80 if (!isset($options['password'])) {
84 'authzid' => $options['username'],
85 'authcid' => $options['username'],
86 'password' => $options['password'],