invoke

operator fun invoke(block: OathConfiguration.() -> Unit = {}): OathConfiguration

Creates a new instance of OathConfiguration with the provided configuration block.

Example usage:

val config = OathConfiguration {
storage = MyOathStorage()
enableCredentialCache = false
}