public function validate(Request $request)
    {
        $this->validateTimestamp($request);
        try {
            $this->validateSignature($request);
        } catch (OutdatedCertExceptionException $e) {
            // load cert again and validate because temp file was outdatet.
            $this->validateSignature($request);
        }
    }
public function validate(Request $request)
    {
        $this->validateTimestamp($request);
        try {
            $this->validateSignature($request);
        } catch (OutdatedCertExceptionException $e) {
            // load cert again and validate because temp file was outdatet.
            $this->validateSignature($request);
        }
    }
public function validate ( Request $ request ) { $ this -> validateTimestamp ( $ request ) ; try { $ this -> validateSignature ( $ request ) ; } catch ( OutdatedCertExceptionException $ e ) { // load cert again and validate because temp file was outdatet. $ this -> validateSignature ( $ request ) ; } }
Validate request data.

@param Request $request

@throws OutdatedCertExceptionException
@throws RequestInvalidSignatureException
@throws RequestInvalidTimestampException
Validate request data .