public function validateAccessToken($httpHeadersOnly = false, $accessToken = null)
    {
        return $this->checker->isValidRequest($httpHeadersOnly, $accessToken);
    }
public function validateAccessToken($httpHeadersOnly = false, $accessToken = null)
    {
        return $this->checker->isValidRequest($httpHeadersOnly, $accessToken);
    }
public function validateAccessToken ( $ httpHeadersOnly = false , $ accessToken = null ) { return $ this -> checker -> isValidRequest ( $ httpHeadersOnly , $ accessToken ) ; }
Validate a request with an access token in it.

@param bool $httpHeadersOnly whether or not to check only the http headers of the request
@param string|null $accessToken an access token to validate

@return mixed
Validate a request with an access token in it .