feat: auth implement

This commit is contained in:
DarkSky
2023-01-04 16:49:40 +08:00
parent 1dc475632a
commit ae94c901b3
6 changed files with 82 additions and 10 deletions
@@ -55,6 +55,10 @@ export class BaseProvider {
return this._workspace;
}
static async auth(_config: Readonly<ConfigStore>, _logger: Logger) {
throw Error('Not implemented: auth');
}
// get workspace listreturn a map of workspace id and boolean
// if value is true, it exists locally, otherwise it does not exist locally
static async list(