diff --git a/Octokit.Reactive/Clients/IObservableAuthorizationsClient.cs b/Octokit.Reactive/Clients/IObservableAuthorizationsClient.cs
index 2283f454..0bc48385 100644
--- a/Octokit.Reactive/Clients/IObservableAuthorizationsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableAuthorizationsClient.cs
@@ -48,7 +48,7 @@ namespace Octokit.Reactive
/// Thrown when the current account has two-factor
/// authentication enabled.
///
- IObservable GetOrCreateApplicationAuthentication(
+ IObservable GetOrCreateApplicationAuthentication(
string clientId,
string clientSecret,
NewAuthorization newAuthorization);
@@ -71,7 +71,7 @@ namespace Octokit.Reactive
/// Thrown when the two-factor code is not
/// valid.
///
- IObservable GetOrCreateApplicationAuthentication(
+ IObservable GetOrCreateApplicationAuthentication(
string clientId,
string clientSecret,
NewAuthorization newAuthorization,
@@ -82,7 +82,7 @@ namespace Octokit.Reactive
///
/// Information about the new authorization to create
///
- IObservable Create(NewAuthorization newAuthorization);
+ IObservable Create(NewAuthorization newAuthorization);
///
/// Update the specified by the id.
diff --git a/Octokit.Reactive/Clients/ObservableAuthorizationsClient.cs b/Octokit.Reactive/Clients/ObservableAuthorizationsClient.cs
index 9459be6e..1999b9d8 100644
--- a/Octokit.Reactive/Clients/ObservableAuthorizationsClient.cs
+++ b/Octokit.Reactive/Clients/ObservableAuthorizationsClient.cs
@@ -62,7 +62,7 @@ namespace Octokit.Reactive
/// Thrown when the current account has two-factor
/// authentication enabled.
///
- public IObservable GetOrCreateApplicationAuthentication(
+ public IObservable GetOrCreateApplicationAuthentication(
string clientId,
string clientSecret,
NewAuthorization newAuthorization)
@@ -93,7 +93,7 @@ namespace Octokit.Reactive
/// Thrown when the two-factor code is not
/// valid.
///
- public IObservable GetOrCreateApplicationAuthentication(
+ public IObservable GetOrCreateApplicationAuthentication(
string clientId,
string clientSecret,
NewAuthorization newAuthorization,
@@ -117,7 +117,7 @@ namespace Octokit.Reactive
///
/// Information about the new authorization to create
///
- public IObservable Create(NewAuthorization newAuthorization)
+ public IObservable Create(NewAuthorization newAuthorization)
{
Ensure.ArgumentNotNull(newAuthorization, "authorization");
diff --git a/Octokit.Reactive/Helpers/AuthorizationExtensions.cs b/Octokit.Reactive/Helpers/AuthorizationExtensions.cs
index 645a9df0..36a110eb 100644
--- a/Octokit.Reactive/Helpers/AuthorizationExtensions.cs
+++ b/Octokit.Reactive/Helpers/AuthorizationExtensions.cs
@@ -28,7 +28,7 @@ namespace Octokit
/// Callback used to retrieve the two-factor authentication code
/// from the user
///
- public static IObservable GetOrCreateApplicationAuthentication(
+ public static IObservable GetOrCreateApplicationAuthentication(
this IObservableAuthorizationsClient authorizationsClient,
string clientId,
string clientSecret,
@@ -42,7 +42,7 @@ namespace Octokit
Ensure.ArgumentNotNull(newAuthorization, "authorization");
return authorizationsClient.GetOrCreateApplicationAuthentication(clientId, clientSecret, newAuthorization)
- .Catch(exception => twoFactorChallengeHandler(exception)
+ .Catch(exception => twoFactorChallengeHandler(exception)
.SelectMany(result =>
result.ResendCodeRequested
? authorizationsClient.GetOrCreateApplicationAuthentication(
diff --git a/Octokit.Tests/Clients/AuthorizationsClientTests.cs b/Octokit.Tests/Clients/AuthorizationsClientTests.cs
index 8f456423..43d72993 100644
--- a/Octokit.Tests/Clients/AuthorizationsClientTests.cs
+++ b/Octokit.Tests/Clients/AuthorizationsClientTests.cs
@@ -83,7 +83,7 @@ namespace Octokit.Tests.Clients
authEndpoint.Create(new NewAuthorization());
- client.Received().Post(Arg.Is(u => u.ToString() == "authorizations")
+ client.Received().Post(Arg.Is(u => u.ToString() == "authorizations")
, Args.NewAuthorization);
}
}
@@ -113,7 +113,7 @@ namespace Octokit.Tests.Clients
authEndpoint.GetOrCreateApplicationAuthentication("clientId", "secret", data);
- client.Received().Put(Arg.Is(u => u.ToString() == "authorizations/clients/clientId"),
+ client.Received().Put(Arg.Is(u => u.ToString() == "authorizations/clients/clientId"),
Args.Object);
}
@@ -126,7 +126,7 @@ namespace Octokit.Tests.Clients
authEndpoint.GetOrCreateApplicationAuthentication("clientId", "secret", data, "two-factor");
- client.Received().Put(
+ client.Received().Put(
Arg.Is(u => u.ToString() == "authorizations/clients/clientId"),
Args.Object,
"two-factor");
@@ -137,8 +137,8 @@ namespace Octokit.Tests.Clients
{
var data = new NewAuthorization();
var client = Substitute.For();
- client.Put(Args.Uri, Args.Object, Args.String)
- .ThrowsAsync(
+ client.Put(Args.Uri, Args.Object, Args.String)
+ .ThrowsAsync(
new AuthorizationException(
new ApiResponse