AuthPassword Event
This event is fired on password authentication attempt from a client.
Syntax
func onAuthPassword(connectionID: Int64, username: String, password: String, accept: inout Bool, forceChangePassword: inout Bool)
Remarks
Parameters Username and Password contain user credentials. If they are correct, set Accept to true. You can request password change by setting ForceChangePassword to true.