Validate Wifi Password

We are using NEHotspotNetwork and WDSConnectWiFiProtocol_MarvellEZConnect to create a wifi connection with device and wifi network. We are passing the user's entered wifi password to WDSConnectWiFiProtocol_MarvellEZConnect, Is there any way to validate if user has entered correct password or not ?