def authorization_url(self, url, state=None, **kwargs):
state = state or self.new_state()<EOL>return (<EOL>self._client.prepare_request_uri(<EOL>url,<EOL>redirect_uri=self.redirect_uri,<EOL>scope=self.scope,<EOL>state=state,<EOL>**kwargs<EOL>),<EOL>state,<EOL>)<EOL>
Form an authorization URL.

        :param url: Authorization endpoint url, must be HTTPS.
        :param state: An optional state string for CSRF protection. If not
                      given it will be generated for you.
        :param kwargs: Extra parameters to include.
        :return: authorization_url, state