Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthenticationProviderImpl

Hierarchy

  • AuthenticationProviderImpl

Implements

  • AuthenticationProvider

Index

Constructors

Properties

accounts: Map<string, string[]> = ...

map from account name to session ids

id: string
label: string
onDidChangeSessions: Event<AuthenticationProviderAuthenticationSessionsChangeEvent>
sessions: Map<string, string> = ...

map from session id to account name

supportsMultipleAccounts: boolean

Methods

  • createSession(scopes: string[]): Thenable<AuthenticationSession>
  • getSessions(scopes?: string[]): Promise<readonly AuthenticationSession[]>
  • hasSessions(): boolean
  • login(scopes: string[]): Promise<AuthenticationSession>
  • logout(sessionId: string): Promise<void>
  • registerSession(session: AuthenticationSession): void
  • removeSession(sessionId: string): Thenable<void>
  • signOut(accountName: string): Promise<void>
  • updateSessionItems(event: AuthenticationProviderAuthenticationSessionsChangeEvent): Promise<void>