Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthenticationServiceImpl

Hierarchy

  • AuthenticationServiceImpl

Implements

Index

Constructors

Properties

authenticationProviders: Map<string, AuthenticationProvider> = ...
commands: CommandRegistry
noAccountsCommand: Command = ...
noAccountsMenuItem: undefined | Disposable
onDidChangeSessions: Event<SessionChangeEvent> = ...
onDidChangeSessionsEmitter: Emitter<SessionChangeEvent> = ...
onDidRegisterAuthenticationProvider: Event<AuthenticationProviderInformation> = ...
onDidRegisterAuthenticationProviderEmitter: Emitter<AuthenticationProviderInformation> = ...
onDidUnregisterAuthenticationProvider: Event<AuthenticationProviderInformation> = ...
onDidUnregisterAuthenticationProviderEmitter: Emitter<AuthenticationProviderInformation> = ...
sessionMap: Map<string, DisposableCollection> = ...
signInRequestItems: Map<string, SessionRequestInfo> = ...
storageService: StorageService

Methods

  • getLabel(id: string): string
  • getProviderIds(): string[]
  • init(): void
  • isAuthenticationProviderRegistered(id: string): boolean
  • logout(id: string, sessionId: string): Promise<void>
  • requestNewSession(providerId: string, scopes: string[], extensionId: string, extensionName: string): Promise<void>
  • signOutOfAccount(id: string, accountName: string): Promise<void>
  • supportsMultipleAccounts(id: string): boolean
  • unregisterAuthenticationProvider(id: string): void
  • updateAccountsMenuItem(): void