feat(auth): 添加登录状态检查,
- 未登录时不会自动打开面板命令打开也会显示需要登录 - 登录之后就回自动打开对话面板
This commit is contained in:
@ -49,8 +49,8 @@ export class ICCoderAuthenticationProvider
|
||||
*/
|
||||
async getSessions(
|
||||
scopes?: readonly string[]
|
||||
): Promise<readonly vscode.AuthenticationSession[]> {
|
||||
return this._sessions;
|
||||
): Promise<vscode.AuthenticationSession[]> {
|
||||
return [...this._sessions];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user