Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AuthenticationExtImpl

Implements

Index

Constructors

Properties

authenticationProviders: Map<string, AuthenticationProvider> = ...
onDidChangeSessions: Event<AuthenticationSessionsChangeEvent> = ...
onDidChangeSessionsEmitter: Emitter<AuthenticationSessionsChangeEvent> = ...

Methods

  • $createSession(providerId: string, scopes: string[]): Promise<AuthenticationSession>
  • $getSessions(providerId: string, scopes?: string[]): Promise<readonly AuthenticationSession[]>
  • $onDidChangeAuthenticationSessions(provider: AuthenticationProviderInformation): Promise<void>
  • $removeSession(providerId: string, sessionId: string): Promise<void>
  • getSession(requestingExtension: Plugin, providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions & { createIfNone: true } & AuthenticationGetSessionOptions & { forceNewSession: true } & AuthenticationGetSessionOptions & { forceNewSession: { detail: string } }): Promise<AuthenticationSession>
  • getSession(requestingExtension: Plugin, providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions & { forceNewSession: true }): Promise<AuthenticationSession>
  • getSession(requestingExtension: Plugin, providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions & { forceNewSession: { detail: string } }): Promise<AuthenticationSession>
  • getSession(requestingExtension: Plugin, providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions): Promise<undefined | AuthenticationSession>
  • registerAuthenticationProvider(id: string, label: string, provider: AuthenticationProvider, options?: AuthenticationProviderOptions): Disposable