Package io.realm.kotlin.mongodb

Types

App
Link copied to clipboard
interface App

An App is the main client-side entry point for interacting with an Atlas App Services Application.

AppConfiguration
Link copied to clipboard
interface AppConfiguration

An AppConfiguration is used to setup linkage to an Atlas App Services Application.

AuthenticationChange
Link copied to clipboard
interface AuthenticationChange

This sealed class describe the possible events that can be observed on the Flow created by calling App.authenticationChangeAsFlow.

AuthenticationProvider
Link copied to clipboard
enum AuthenticationProvider : Enum<AuthenticationProvider>

This enum contains the list of authentication providers supported by App Services.

Credentials
Link copied to clipboard
interface Credentials

Credentials represent a login with a given login provider.

Functions
Link copied to clipboard
interface Functions

A Functions manager to call remote Atlas Functions for the associated Atlas App Services Application.

GoogleAuthType
Link copied to clipboard
enum GoogleAuthType : Enum<GoogleAuthType>

This enum contains the list of Google authentication types supported by App Services.

HttpLogObfuscator
Link copied to clipboard
interface HttpLogObfuscator

The HttpLogObfuscator keeps sensitive information from being displayed in output traces.

LoggedIn
Link copied to clipboard
interface LoggedIn : AuthenticationChange

Event emitted when a user logs into the app.

LoggedOut
Link copied to clipboard
interface LoggedOut : AuthenticationChange

Event emitted when a user is logged out.

Removed
Link copied to clipboard
interface Removed : AuthenticationChange

Event emitted when a user is removed, which also logs them out.

User
Link copied to clipboard
interface User

A user holds the user's metadata and tokens for accessing App Services and Device Sync functionality.

UserIdentity
Link copied to clipboard
data class UserIdentity(id: String, provider: AuthenticationProvider)

Each User on Atlas App Services is uniquely identified by their User.id, but this id cannot be used across multiple authentication providers, as they all have their own notation on what defines a user. This class thus represents a users identity towards one single authentication provider.

Properties

subscriptions
Link copied to clipboard
val <ERROR CLASS>.subscriptions: SubscriptionSet<<ERROR CLASS>>

Returns the latest SubscriptionSet associated with this Realm.

syncSession
Link copied to clipboard
val <ERROR CLASS>.syncSession: SyncSession

Returns the SyncSession associated with this Realm.