@@ -42,7 +42,7 @@ public interface IObservableAuthorizationsClient
42
42
/// <returns>An <see cref="Authorization"/></returns>
43
43
[ SuppressMessage ( "Microsoft.Naming" , "CA1716:IdentifiersShouldNotMatchKeywords" , MessageId = "Get" ,
44
44
Justification = "It's fiiiine. It's fine. Trust us." ) ]
45
- IObservable < Authorization > Get ( int id ) ;
45
+ IObservable < Authorization > Get ( long id ) ;
46
46
47
47
/// <summary>
48
48
/// Creates a new personal token for the authenticated user.
@@ -132,7 +132,7 @@ IObservable<ApplicationAuthorization> Create(
132
132
string twoFactorAuthenticationCode ) ;
133
133
134
134
/// <summary>
135
- /// This method will create a new authorization for the specified OAuth application, only if an authorization
135
+ /// This method will create a new authorization for the specified OAuth application, only if an authorization
136
136
/// for that application doesn’t already exist for the user. It returns the user’s token for the application
137
137
/// if one exists. Otherwise, it creates one.
138
138
/// </summary>
@@ -143,7 +143,7 @@ IObservable<ApplicationAuthorization> Create(
143
143
/// <param name="clientId">Client Id for the OAuth application that is requesting the token</param>
144
144
/// <param name="clientSecret">The client secret</param>
145
145
/// <param name="newAuthorization">Defines the scopes and metadata for the token</param>
146
- /// <exception cref="AuthorizationException">Thrown when the user does not have permission to make
146
+ /// <exception cref="AuthorizationException">Thrown when the user does not have permission to make
147
147
/// this request. Check </exception>
148
148
/// <exception cref="TwoFactorRequiredException">Thrown when the current account has two-factor
149
149
/// authentication enabled.</exception>
@@ -154,19 +154,19 @@ IObservable<ApplicationAuthorization> GetOrCreateApplicationAuthentication(
154
154
NewAuthorization newAuthorization ) ;
155
155
156
156
/// <summary>
157
- /// This method will create a new authorization for the specified OAuth application, only if an authorization
157
+ /// This method will create a new authorization for the specified OAuth application, only if an authorization
158
158
/// for that application doesn’t already exist for the user. It returns the user’s token for the application
159
159
/// if one exists. Otherwise, it creates one.
160
160
/// </summary>
161
161
/// <remarks>
162
- /// See <a href="http://developer.github.com/v3/oauth/#get-or-create-an-authorization-for-a-specific-app">API
162
+ /// See <a href="http://developer.github.com/v3/oauth/#get-or-create-an-authorization-for-a-specific-app">API
163
163
/// documentation</a> for more details.
164
164
/// </remarks>
165
165
/// <param name="clientId">Client Id for the OAuth application that is requesting the token</param>
166
166
/// <param name="clientSecret">The client secret</param>
167
167
/// <param name="newAuthorization">Defines the scopes and metadata for the token</param>
168
168
/// <param name="twoFactorAuthenticationCode">The two-factor authentication code provided by the user</param>
169
- /// <exception cref="AuthorizationException">Thrown when the user does not have permission to make
169
+ /// <exception cref="AuthorizationException">Thrown when the user does not have permission to make
170
170
/// this request. Check </exception>
171
171
/// <exception cref="TwoFactorChallengeFailedException">Thrown when the two-factor code is not
172
172
/// valid.</exception>
@@ -219,29 +219,29 @@ IObservable<ApplicationAuthorization> GetOrCreateApplicationAuthentication(
219
219
/// <param name="id">The id of the <see cref="Authorization"/></param>
220
220
/// <param name="authorizationUpdate">The changes to make to the authorization</param>
221
221
/// <returns></returns>
222
- IObservable < Authorization > Update ( int id , AuthorizationUpdate authorizationUpdate ) ;
222
+ IObservable < Authorization > Update ( long id , AuthorizationUpdate authorizationUpdate ) ;
223
223
224
224
/// <summary>
225
225
/// Deletes the specified <see cref="Authorization"/>.
226
226
/// </summary>
227
227
/// <remarks>
228
228
/// This method requires authentication.
229
- /// See the <a href="http://developer.github.com/v3/oauth/#delete-an-authorization">API
229
+ /// See the <a href="http://developer.github.com/v3/oauth/#delete-an-authorization">API
230
230
/// documentation</a> for more details.
231
231
/// </remarks>
232
232
/// <param name="id">The system-wide Id of the authorization to delete</param>
233
233
/// <exception cref="AuthorizationException">
234
234
/// Thrown when the current user does not have permission to make the request.
235
235
/// </exception>
236
236
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
237
- IObservable < Unit > Delete ( int id ) ;
237
+ IObservable < Unit > Delete ( long id ) ;
238
238
239
239
/// <summary>
240
240
/// Deletes the specified <see cref="Authorization"/>.
241
241
/// </summary>
242
242
/// <remarks>
243
243
/// This method requires authentication.
244
- /// See the <a href="http://developer.github.com/v3/oauth/#delete-an-authorization">API
244
+ /// See the <a href="http://developer.github.com/v3/oauth/#delete-an-authorization">API
245
245
/// documentation</a> for more details.
246
246
/// </remarks>
247
247
/// <param name="id">The system-wide Id of the authorization to delete</param>
@@ -250,6 +250,6 @@ IObservable<ApplicationAuthorization> GetOrCreateApplicationAuthentication(
250
250
/// Thrown when the current user does not have permission to make the request.
251
251
/// </exception>
252
252
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
253
- IObservable < Unit > Delete ( int id , string twoFactorAuthenticationCode ) ;
253
+ IObservable < Unit > Delete ( long id , string twoFactorAuthenticationCode ) ;
254
254
}
255
255
}
0 commit comments