Implement a new Gitea API client providing methods for repository management (create, list, delete) and issue tracking (create, update, close). The client uses OAuth2 token authentication and supports paginated responses for listing endpoints.