ListenerPasswordAuthenticatorDelegate
typealias ListenerPasswordAuthenticatorDelegate = (username: String, password: CharArray) -> Boolean(source)
ENTERPRISE EDITION API
Functional Interface for an Authenticator that uses an authentication strategy based on a username and password. Pass implementations of this interface to the ListenerPasswordAuthenticator to realize specific authentication strategies.
Authenticate a client based on the passed credentials.
Return
true when the client is authorized.
Parameters
username
client supplied username
password
client supplied password