secureWith

abstract fun secureWith(securedModes: Set<SecurityMode.PasswordSecured>, password: String)

Secures connection to the master with the given password and modes.

Modes that ar not supported will be ignored when passed in the securedModes argument.