Skip to content
Snippets Groups Projects
Commit 99e51360 authored by Ere Maijala's avatar Ere Maijala Committed by Robert Lange
Browse files

Add delegation support to ChoiceAuth.

parent 8c6b709e
No related merge requests found
...@@ -323,6 +323,20 @@ class ChoiceAuth extends AbstractBase ...@@ -323,6 +323,20 @@ class ChoiceAuth extends AbstractBase
return $this->proxyAuthMethod('updatePassword', func_get_args()); return $this->proxyAuthMethod('updatePassword', func_get_args());
} }
/**
* Returns any authentication method this request should be delegated to.
*
* @param \Zend\Http\PhpEnvironment\Request $request Request object.
*
* @return string|bool
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function getDelegateAuthMethod(\Zend\Http\PhpEnvironment\Request $request)
{
return $this->proxyAuthMethod('getDelegateAuthMethod', func_get_args());
}
/** /**
* Proxy auth method; a helper function to be called like: * Proxy auth method; a helper function to be called like:
* return $this->proxyAuthMethod(METHOD, func_get_args()); * return $this->proxyAuthMethod(METHOD, func_get_args());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment