Implement a utility class named OAuthUrlGenerator that leverages oauthlib to construct OAuth 2.0 implicit…
Implement a utility class named OAuthUrlGenerator that leverages oauthlib to construct OAuth 2.0 implicit…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Your class must implement a method generate authorization uri(self, client id, redirect uri, state=None) . This method must initialize…
The task
Your class must implement a method `generate_authorization_uri(self, client_id, redirect_uri, state=None)`. This method must initialize the library client and call the library's preparation method to ensure correct parameter encoding (e.g., URL escaping).
Part of Essacheez/r2e-code-instruct-qwen3.5.