createTokenDatabase

fun createTokenDatabase(dbPath: String = ".okta"): TokenDatabase

Creates a TokenDatabase for JVM applications using file-based SQLite.

The database file is created at dbPath. Parent directories are created if they do not exist.

Return

a configured TokenDatabase instance.

Parameters

dbPath

the file system path for the database. Defaults to ~/.okta/common_token_database.