invoke

operator fun invoke(sink: ERROR CLASS: Symbol not found for BufferedSink, securityConfig: ERROR CLASS: Symbol not found for Config.SecurityConfig): ERROR CLASS: Symbol not found for Result<kotlin/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.