principalement du format de code

This commit is contained in:
2020-09-12 01:11:30 +01:00
parent 3a6f16e3bb
commit 2cd531c242
87 changed files with 510 additions and 550 deletions

View File

@ -13,15 +13,9 @@ namespace cli.Helpers
return commander.Integrate(rootApp);
}
static OAuthenticator OAuthorInstance { get; set; }
public static OAuthenticator OAuthorInstance { get; private set; }
public static OAuthenticator InitAuthor(
this ConnectionSettings settings,
string clientId,
string clientSecret,
string scope,
string authorizeUrl,
string redirectUrl,
string accessTokenUrl)
this ConnectionSettings settings)
{
return OAuthorInstance = new OAuthenticator(settings.ClientId,
settings.ClientSecret,
@ -71,4 +65,4 @@ namespace cli.Helpers
}
}
}