databaseAuthVariableOverride property

JSObject? get databaseAuthVariableOverride

The object to use as the {@link https://firebase.google.com/docs/reference/security/database/#auth | auth} variable in your Realtime Database Rules when the Admin SDK reads from or writes to the Realtime Database. This allows you to downscope the Admin SDK from its default full read and write privileges.

You can pass null to act as an unauthenticated client.

See {@link https://firebase.google.com/docs/database/admin/start#authenticate-with-limited-privileges | Authenticate with limited privileges} for detailed documentation and code samples.

Implementation

external JSObject? get databaseAuthVariableOverride;