Authorizer

fun interface Authorizer(source)

Callback to use with DatabaseConnection.setAuthorizer.

Functions

Link copied to clipboard
abstract fun apply(action: SqliteActionCode, detail1: String?, detail2: String?, detail3: String?, detail4: String?): SqliteAuthorizerStatus

Called once for each action SQLite is about to perform while compiling a statement, with up to four action-specific details in detail1 to detail4. Returns whether the action is allowed, denied, or silently ignored.