public function RestfulAuthenticationInterface::applies in RESTful 7
Determines if the request can be checked for authentication. For example, when authenticating with HTTP header, return FALSE if the header values do not exist.
Parameters
array $request: The request.
string $method: The HTTP method. Defaults to "get".
Return value
bool TRUE if the request can be checked for authentication, FALSE otherwise.
1 method overrides RestfulAuthenticationInterface::applies()
- RestfulAuthenticationBase::applies in plugins/
authentication/ RestfulAuthenticationBase.php  - Determines if the request can be checked for authentication. For example, when authenticating with HTTP header, return FALSE if the header values do not exist.
 
File
- plugins/
authentication/ RestfulAuthenticationInterface.php, line 36  - Contains RestfulAuthenticationInterface.
 
Class
- RestfulAuthenticationInterface
 - @file Contains RestfulAuthenticationInterface.
 
Code
public function applies(array $request = array(), $method = \RestfulInterface::GET);