Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import * as vscode from 'vscode';
/**
* Interface for the MicrosoftAuthService.
*/
export interface IMicrosoftAuthService {
/**
* Checks if there's an existing session without prompting the user.
* @param scopes The OAuth scopes to check.
* @param createIfNone If true, creates a new session if none exists.
* @returns A promise that resolves to the authentication session if a session exists, or undefined.
*/
getSession(scopes: string[], createIfNone?: boolean): Promise<vscode.AuthenticationSession | undefined>;
}
|