Example #1
0
        /// <summary>
        /// Clears the session’s HTTP authentication cache.
        /// </summary>
        /// <param name="options"></param>
        /// <param name="callback">Called when operation is done.</param>
        public void clearAuthCache(RemoveClientCertificate options, Action callback)
        {
            string       eventName = "_clearAuthCache";
            CallbackItem item      = null;

            item = API.CreateCallbackItem(eventName, (object[] args) => {
                API.RemoveCallbackItem(eventName, item);
                callback?.Invoke();
            });
            API.Apply("clearAuthCache", options, item);
        }
Example #2
0
 /// <summary>
 /// Clears the session’s HTTP authentication cache.
 /// </summary>
 /// <param name="options"></param>
 public void clearAuthCache(RemoveClientCertificate options)
 {
     API.Apply("clearAuthCache", options);
 }