public function getAuthorizationMethod()
    {
        if ($this->hasHeader('Authorization')) {
            $authorization = $this->getHeader('Authorization');
            return strstr($authorization, ' ', true);
        }
        return false;
    }