web - change API to URI (from UriComponents)

This commit is contained in:
Benjamin Pasero
2019-09-17 07:43:53 +02:00
parent bdd1971f2c
commit 08a5964645
8 changed files with 29 additions and 21 deletions

View File

@@ -10,7 +10,9 @@ import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/
export interface ICredentialsProvider {
getPassword(service: string, account: string): Promise<string | null>;
setPassword(service: string, account: string, password: string): Promise<void>;
deletePassword(service: string, account: string): Promise<boolean>;
findPassword(service: string): Promise<string | null>;
findCredentials(service: string): Promise<Array<{ account: string, password: string }>>;
}