Build a custom OAuth 2.0 token validation client that extends oauthlib 's Client class. Your…
Build a custom OAuth 2.0 token validation client that extends oauthlib 's Client class. Your…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Expected behavior: - Input: {"token": "abc123", "expires in": 3600, "client id": "myapp"} - Output: {"valid": true, "expires at"…
The task
Expected behavior: - Input: `{"token": "abc123", "expires_in": 3600, "client_id": "myapp"}` - Output: `{"valid": true, "expires_at": "2024-01-15T10:30:00Z", "client_id": "myapp"}`
Part of Essacheez/r2e-code-instruct-qwen3.5.