src/Che/HttpApiAuth/SchemeHandler.php
public function isRequestValid(HttpRequest $request, AuthenticationData $data, $secretKey)
    {
        return $this->getScheme($data->getScheme())->isRequestValid($request, $data->getToken(), $secretKey);
    }
public function isRequestValid(HttpRequest $request, AuthenticationData $data, $secretKey)
    {
        return $this->getScheme($data->getScheme())->isRequestValid($request, $data->getToken(), $secretKey);
    }
public function isRequestValid ( HttpRequest $ request , AuthenticationData $ data , $ secretKey ) { return $ this -> getScheme ( $ data -> getScheme ( ) ) -> isRequestValid ( $ request , $ data -> getToken ( ) , $ secretKey ) ; }
Check if request is valid for user

@param HttpRequest       $request   Request for check
@param AuthenticationData $data      Data parsed from request
@param string            $secretKey User API secret key

@return bool
@throws \OutOfBoundsException
@throws UnsupportedTokenException
Check if request is valid for user