Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AuthenticationMainImpl

Implements

Index

Constructors

Properties

authenticationService: AuthenticationService
messageService: MessageService
quickPickService: QuickPickService
storageService: StorageService

Methods

  • $getSession(providerId: string, scopes: string[], extensionId: string, extensionName: string, options: AuthenticationGetSessionOptions): Promise<undefined | AuthenticationSession>
  • $logout(providerId: string, sessionId: string): Promise<void>
  • $onDidChangeSessions(providerId: string, event: AuthenticationProviderAuthenticationSessionsChangeEvent): void
  • $registerAuthenticationProvider(id: string, label: string, supportsMultipleAccounts: boolean): Promise<void>
  • $unregisterAuthenticationProvider(id: string): Promise<void>
  • $updateSessions(id: string, event: AuthenticationProviderAuthenticationSessionsChangeEvent): Promise<void>
  • getSessionsPrompt(providerId: string, accountName: string, providerName: string, extensionId: string, extensionName: string): Promise<boolean>
  • isAccessAllowed(providerId: string, accountName: string, extensionId: string): Promise<boolean>
  • loginPrompt(providerName: string, extensionName: string, recreatingSession: boolean, _detail?: string): Promise<boolean>
  • requestNewSession(providerId: string, scopes: string[], extensionId: string, extensionName: string): Promise<void>
  • selectSession(providerId: string, providerName: string, extensionId: string, extensionName: string, potentialSessions: readonly AuthenticationSession[], scopes: string[], clearSessionPreference: boolean): Promise<AuthenticationSession>
  • setTrustedExtensionAndAccountPreference(providerId: string, accountName: string, extensionId: string, extensionName: string, sessionId: string): Promise<void>