Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AuthenticationMain

Hierarchy

  • AuthenticationMain

Implemented by

Index

Methods

$getProviderIds

  • $getProviderIds(): Promise<string[]>

$getSession

  • $getSession(providerId: string, scopes: string[], extensionId: string, extensionName: string, options: { clearSessionPreference?: boolean; createIfNone?: boolean }): Promise<undefined | AuthenticationSession>
  • Parameters

    • providerId: string
    • scopes: string[]
    • extensionId: string
    • extensionName: string
    • options: { clearSessionPreference?: boolean; createIfNone?: boolean }
      • Optional clearSessionPreference?: boolean
      • Optional createIfNone?: boolean

    Returns Promise<undefined | AuthenticationSession>

$logout

  • $logout(providerId: string, sessionId: string): Promise<void>

$registerAuthenticationProvider

  • $registerAuthenticationProvider(id: string, label: string, supportsMultipleAccounts: boolean): void

$unregisterAuthenticationProvider

  • $unregisterAuthenticationProvider(id: string): void

$updateSessions