Options
All
  • Public
  • Public/Protected
  • All
Menu

Singleton class with static utility functions for initializing the MongoDB Stitch Browser SDK, and for retrieving a StitchAppClient.

Hierarchy

  • Stitch

Index

Properties

Static Private defaultClientAppId

defaultClientAppId: string

Static Private localAppName

localAppName: string

Static Private localAppVersion

localAppVersion: string

Accessors

Static defaultAppClient

defaultAppClient:

Retrieves the default StitchAppClient associated with the application.

Methods

Static getAppClient

Static hasAppClient

  • hasAppClient(clientAppId: string): boolean
  • Returns whether or not a StitchAppClient has been initialized for the specified clientAppId

    Parameters

    • clientAppId: string

      The client app id to check for.

    Returns boolean

Static initializeAppClient

  • initializeAppClient(clientAppId: string, config?: StitchAppClientConfiguration): StitchAppClient
  • Initializes a new, non-default StitchAppClient associated with the application.

    Parameters

    • clientAppId: string

      The desired clientAppId for the client.

    • Default value config: StitchAppClientConfiguration = new StitchAppClientConfiguration.Builder().build()

      Additional configuration options (optional).

    Returns StitchAppClient

Static initializeDefaultAppClient

  • initializeDefaultAppClient(clientAppId: string, config?: StitchAppClientConfiguration): StitchAppClient
  • Initializes the default StitchAppClient associated with the application.

    Parameters

    • clientAppId: string

      The desired clientAppId for the client.

    • Default value config: StitchAppClientConfiguration = new StitchAppClientConfiguration.Builder().build()

      Additional configuration options (optional).

    Returns StitchAppClient

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc