Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AuthenticationService

Hierarchy

  • AuthenticationService

Index

Properties

onDidChangeSessions: Event<{ event: AuthenticationProviderAuthenticationSessionsChangeEvent; label: string; providerId: string }>
onDidRegisterAuthenticationProvider: Event<AuthenticationProviderInformation>
onDidUnregisterAuthenticationProvider: Event<AuthenticationProviderInformation>

Methods

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