integration-react: review fixes for ScmAuth

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-09-09 19:09:15 +02:00
parent 6a6ec777ce
commit a202b6240f
4 changed files with 79 additions and 3 deletions
@@ -36,7 +36,7 @@ type ScopeMapping = {
};
class ScmAuthMux implements ScmAuthApi {
#providers = new Array<ScmAuth>();
#providers: Array<ScmAuth>;
constructor(providers: ScmAuth[]) {
this.#providers = providers;
@@ -59,7 +59,7 @@ export interface ScmAuthTokenResponse {
/**
* ScmAuthApi provides methods for authenticating towards source code management services.
*
* As opposed to using the using the GitHub, GitLab and other auth APIs
* As opposed to using the GitHub, GitLab and other auth APIs
* directly, this API allows for more generic access to SCM services.
*
* @public