onAuthPassword (event)
This event is fired on password authentication attempt from a client.
Syntax
- (void)onAuthPassword:(long long)connectionID :(NSString*)username :(NSString*)password :(int*)accept :(int*)forceChangePassword;
func onAuthPassword(_ connectionID: Int64, _ username: String, _ password: String, _ accept: inout Int32, _ forceChangePassword: inout Int32)
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.