public function authorize()
    {
        $response = $this->client->b2AuthorizeAccount();
        if ($response->isOk()) {
            $this->apiURL = $response->get('apiUrl');
            $this->token = $response->get('authorizationToken');
            $this->downloadURL = $response->get('downloadUrl');
            $this->minimumPartSize = $response->get('minimumPartSize');

            return true;
        }

        return false;
    }