Commit Graph

17 Commits

Author SHA1 Message Date
Nick Floyd
6565a07974 [BREAKING CHANGES]: int to long Ids for PreReceiveHook, Deployment Environments, Repository, Org Team, Repo Invitations, Public Key, Project Cards, Organization Invitation, Migrations, GpgKey, Deployment, Authorizations, Accounts / Profiles, Codespace / Workspaces (#2941)
* Fixes ids for Releases, Collaborators, and Contributors

* updates the interface for releases

* update the obverable release client

* updates ids from int to long based on GH database schema

* converts a test condition to use the proper type

* updates generated paging and observable classes
2024-06-26 10:57:30 -05:00
aedampir@gmail.com
39340b53b7 merge 2016-07-17 21:35:22 +07:00
aedampir@gmail.com
44b0f4039d ID -> Id 2016-07-17 16:29:32 +07:00
Ryan Gribble
016e25b693 Remove obsolete items - AuthorizationClient
- RevokeAllApplicationAuthentications()
2016-07-16 22:46:38 +10:00
aedampir@gmail.com
9ec62f5ee1 IObservableAuthorizationsClient and ObservableAuthorizationsClient fixes 2016-03-29 17:37:54 +07:00
aedampir@gmail.com
6009cc9720 Documentation of methods have been updated. 2016-03-17 17:06:17 +07:00
aedampir@gmail.com
5b166ebc42 New overloaded method IObservable<Authorization> GetAll(ApiOptions options) has been added
on IObservableAuthorizationsClient and implemented on ObservableAuthorizationsClient.
2016-03-17 15:34:36 +07:00
Brendan Forster
4078f19a3a marking feature as obsolete 2016-02-02 11:54:03 +10:30
Henrik Andersson
2152ba4d14 Implemented methods for creating an authorization without having to specify an app clientid/clientsecret.
These methods will ONLY work with username/password Basic Auth.

Added a helper method to return a GitHub client using basic auth credentials as if you have both password and oauth token environment variables, you get credentials based on the oauth token.
2015-12-11 00:16:36 +10:00
Haacked
408e95c421 Implement Authorization Create method 2015-04-21 13:51:25 -07:00
Haacked
23bb76a112 Implement Authorizations Delete method with 2fa code
When we delete an authorization, we often need to use basic
authentication because the client might not have the associated token
stored anymore. If 2fa is enabled, the client needs to be able to pass
that along.
2015-04-21 13:40:26 -07:00
Henrik Andersson
4cddd7bbbb Fixed missing doc comments 2015-03-16 08:11:58 +10:00
Henrik Andersson
9faaf53304 Add methods to interface 😶 and observable client 2015-03-15 09:44:24 +10:00
Brendan Forster
5fc8ef0b8e RIP nice pretty code 2015-01-29 16:25:05 +09:30
Brendan Forster
d613cef196 introduce ApplicationAuthorization which contains raw token result 2015-01-04 14:38:59 +09:30
Haacked
a363696544 Filled in more documentation. Made it consistent. 2013-11-07 10:14:01 -08:00
Haacked
61c4cdf002 Organize classes better
Closes #94
2013-10-26 09:52:56 -07:00