@@ -0,0 +1,979 @@
+from src.endpoints.base import Base%0Afrom src.endpoints.users import Users%0A%0A%0Aclass OAuth(Base):%0A%09endpoint = '/oauth'%0A%0A%09def register_oauth_app(self, options):%0A%09%09return self.client.post(%0A%09%09%09self.endpoint + '/apps',%0A%09%09%09options=options%0A%09%09)%0A%0A%09def get_oauth_apps(self, params=None):%0A%09%09return self.client.get(%0A%09%09%09self.endpoint + '/apps',%0A%09%09%09params=params%0A%09%09)%0A%0A%09def get_oauth_app(self, app_id):%0A%09%09return self.client.get(%0A%09%09%09self.endpoint + '/apps/' + app_id%0A%09%09)%0A%0A%09def delete_oauth_app(self, app_id):%0A%09%09return self.client.delete(%0A%09%09%09self.endpoint + '/apps/' + app_id%0A%09%09)%0A%0A%09def regenerate_oauth_app_secret(self, app_id):%0A%09%09return self.client.post(%0A%09%09%09self.endpoint + '/apps/' + app_id + '/regen_secret'%0A%09%09)%0A%0A%09def get_info_on_oauth_app(self, app_id):%0A%09%09return self.client.get(%0A%09%09%09self.endpoint + '/apps/' + app_id + '/info'%0A%09%09)%0A%0A%09def get_authorized_oauth_apps(self, user_id, params=None):%0A%09%09return self.client.get(%0A%09%09%09Users.endpoint + user_id + '/oauth/apps/authorized',%0A%09%09%09params=params%0A%09%09)

Implement oauth endpoint