Use an API to update the AirWatch SDKfor iOS (Swift) credentials when the credentials change.

If an Active Directory (AD) password changes and becomes out of sync with the object account of the SDK, use an API to update the SDK credentials.

/// Swift
                  AWController.clientInstance().updateUserCredentials(with: { (success, error) in {
                  	///insert completion handler code here
                  }
                  
                  
                  
               

Find the new credentials in the SDK account object after the callback successfully returns.