public function setSignatureMethod($method)
    {
        $method = strtoupper($method);
        
        switch ($method) {
            case 'PLAINTEXT':
            case 'HMAC-SHA1':
                $this->sigMethod = $method;
                break;
            default:
                throw new \Dropbox\Exception('Unsupported signature method ' . $method);
        }
    }
public function setSignatureMethod($method)
    {
        $method = strtoupper($method);
        
        switch ($method) {
            case 'PLAINTEXT':
            case 'HMAC-SHA1':
                $this->sigMethod = $method;
                break;
            default:
                throw new \Dropbox\Exception('Unsupported signature method ' . $method);
        }
    }
public function setSignatureMethod ( $ method ) { $ method = strtoupper ( $ method ) ; switch ( $ method ) { case 'PLAINTEXT' : case 'HMAC-SHA1' : $ this -> sigMethod = $ method ; break ; default : throw new \ Dropbox \ Exception ( 'Unsupported signature method ' . $ method ) ; } }
Set the OAuth signature method
@param string $method Either PLAINTEXT or HMAC-SHA1
@return void
Set the OAuth signature method