validateApiKey
private fun ServerSetupState.validateApiKey(key: String, stringValidator: CommonStringValidator, useDefault: Boolean = false, update: ServerSetupState.(ServerSetupState.ValidationError?) -> ServerSetupState): ServerSetupValidationResult(source)
Executes the validateApiKey step in the SDAI presentation layer.
Return
Result produced by validateApiKey.
Author
Dmitriy Moroz
Parameters
key
key value consumed by the API.
stringValidator
string validator value consumed by the API.
useDefault
use default value consumed by the API.
update
update value consumed by the API.