C# Класс CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider

Persistent ntlm authentication provider.
Наследование: DotCMIS.Binding.NtlmAuthenticationProvider, IDisposableAuthProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
DeleteAllCookies ( ) : void

Deletes all cookies.

Dispose ( ) : void

Releases all resource used by the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider object.

Call Dispose when you are finished using the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider. The Dispose method leaves the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider in an unusable state. After calling Dispose, you must release all references to the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider so the garbage collector can reclaim the memory that the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider was occupying.

HandleResponse ( object connection ) : void

Handles the response, if it is a System.Net.HttpWebResponse instance. Takes all cookies of the response and saves them at the local System.Net.CookieContainer.

PersistentNtlmAuthenticationProvider ( ICookieStorage storage, Uri url ) : System

Initializes a new instance of the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Dispose the specified disposing.

Описание методов

DeleteAllCookies() публичный Метод

Deletes all cookies.
public DeleteAllCookies ( ) : void
Результат void

Dispose() публичный Метод

Releases all resource used by the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider object.
Call Dispose when you are finished using the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider. The Dispose method leaves the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider in an unusable state. After calling Dispose, you must release all references to the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider so the garbage collector can reclaim the memory that the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider was occupying.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Dispose the specified disposing.
protected Dispose ( bool disposing ) : void
disposing bool /// Dispose managed resources if true ///
Результат void

HandleResponse() публичный Метод

Handles the response, if it is a System.Net.HttpWebResponse instance. Takes all cookies of the response and saves them at the local System.Net.CookieContainer.
public HandleResponse ( object connection ) : void
connection object /// should be passed. ///
Результат void

PersistentNtlmAuthenticationProvider() публичный Метод

Initializes a new instance of the CmisSync.Lib.Cmis.PersistentNtlmAuthenticationProvider class.
public PersistentNtlmAuthenticationProvider ( ICookieStorage storage, Uri url ) : System
storage ICookieStorage /// Storage to save the cookies to. ///
url System.Uri /// URL of the cookies. ///
Результат System