private void OnNativeCallback(ref ModuleCallbackSaveAuthenticationIn authIn, int inSize,
                                      ref ModuleCallbackSaveAuthenticationOut authOut, int outSize, IntPtr data)
        {
            // Copy the authIn fields.
            keyring  = authIn.Keyring;
            uri      = authIn.Uri;
            protocol = authIn.Protocol;
            server   = authIn.Server;
            obj      = authIn.Object;
            port     = authIn.Port;
            authtype = authIn.Authtype;
            username = authIn.Username;
            domain   = authIn.Domain;
            password = authIn.Password;

            // Activate the callback.
            ModuleCallbackHandler handler = Callback;

            if (handler != null)
            {
                handler(this);
            }
        }
		private void OnNativeCallback (ref ModuleCallbackSaveAuthenticationIn authIn, int inSize,
					       ref ModuleCallbackSaveAuthenticationOut authOut, int outSize, IntPtr data)
		{
			// Copy the authIn fields.
			keyring = authIn.Keyring;
			uri = authIn.Uri;
			protocol = authIn.Protocol;
			server = authIn.Server;
			obj = authIn.Object;
			port = authIn.Port;
			authtype = authIn.Authtype;
			username = authIn.Username;
			domain = authIn.Domain;
			password = authIn.Password;
			
			// Activate the callback.
			ModuleCallbackHandler handler = Callback;
			if (handler != null) {
				handler (this);
			}
		}
		private void OnNativeAsyncCallback (ref ModuleCallbackSaveAuthenticationIn authIn, int inSize,
						    ref ModuleCallbackSaveAuthenticationOut authOut, int outSize,
						    IntPtr data, IntPtr resp, IntPtr resp_data)
		{
			OnNativeCallback (ref authIn, inSize, ref authOut, outSize, data);
		}
 private void OnNativeAsyncCallback(ref ModuleCallbackSaveAuthenticationIn authIn, int inSize,
                                    ref ModuleCallbackSaveAuthenticationOut authOut, int outSize,
                                    IntPtr data, IntPtr resp, IntPtr resp_data)
 {
     OnNativeCallback(ref authIn, inSize, ref authOut, outSize, data);
 }