A helper class, that handles user authentication over http and web socket connections. It exposes properties that make it easier to setup an Apollo client to communicate with the Realm Object Server GraphQL API.
Note: A single configuration is valid for a single Realm path.
Creates a new
GraphQLConfig instance, that contains helper properties that can be used
to configure the Apollo client.
A valid logged-in User.
The relative path for the Realm on the server. If the path contains
it will be replaced with the user's Id (this will not work if the user was logged in with
An error handler that will be invoked if there are problems with
refreshing the user's access token (which can happen either because they lost access to
the Realm or due to network issues). If you return
true, the error will be considered
fatal and the request will not be retried. Otherwise, a retry will be attempted after
A Promise, that, when resolved, contains a fully configured