Exemplo n.º 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(RemovePassword 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);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Clears the session’s HTTP authentication cache.
 /// </summary>
 /// <param name="options"></param>
 public void clearAuthCache(RemovePassword options)
 {
     API.Apply("clearAuthCache", options);
 }