The StitchAuth object representing the authentication state of this client. Includes methods for logging in and logging out.
Authentication state can be persisted beyond the lifetime of a browser
session. A StitchAppClient retrieved from the Stitch
singleton may or
may not be already authenticated when first initialized.
Calls the MongoDB Stitch function with the provided name and arguments, and returns the result as decoded extended JSON.
The name of the function to call.
The arguments to the function.
Close stops any background processes maintained by the client. This should be called when the client is no longer needed.
Retrieves a general-purpose service client for the Stitch service associated with the specified name. Use this for services which do not have a well-defined interface in the SDK.
The name of the desired service in MongoDB Stitch.
Retrieves the service client for the Stitch service associated with the specified name and factory.
The factory that produces the desired service client.
The name of the desired service in MongoDB Stitch.
Retrieves the service client for the Stitch service associated with the specificed factory.
The factory that produces the desired service client.
Generated using TypeDoc
The fundamental set of methods for communicating with a MongoDB Stitch application. Contains methods for executing Stitch functions and retrieving clients for Stitch services, and contains a
StitchAuth
object to manage the authentication state of the client. An implementation can be instantiated using theStitch
utility class.