invoke
open operator fun invoke(sink: BufferedSink, securityConfig: Config.SecurityConfig): Result<Unit>(source)
Exports the provided Config.SecurityConfig as a JSON string to the given BufferedSink.
Return
A Result indicating success or failure.
Parameters
sink
The sink to write the JSON to.
securityConfig
The security configuration to export.