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

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

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

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

Deletes all cookies.

Dispose ( ) : void

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

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

HandleResponse ( object connection ) : void

Handles the HttpWebResponse by extracting the cookies.

PersistentStandardAuthenticationProvider ( ICookieStorage storage, Uri url ) : System

Initializes a new instance of the CmisSync.Lib.Cmis.PersistentStandardAuthenticationProvider 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.PersistentStandardAuthenticationProvider object.
Call Dispose when you are finished using the CmisSync.Lib.Cmis.PersistentStandardAuthenticationProvider. The Dispose method leaves the CmisSync.Lib.Cmis.PersistentStandardAuthenticationProvider in an unusable state. After calling Dispose, you must release all references to the CmisSync.Lib.Cmis.PersistentStandardAuthenticationProvider so the garbage collector can reclaim the memory that the CmisSync.Lib.Cmis.PersistentStandardAuthenticationProvider was occupying.
public Dispose ( ) : void
Результат void

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

Dispose the specified disposing.
protected Dispose ( bool disposing ) : void
disposing bool If set to true disposing.
Результат void

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

Handles the HttpWebResponse by extracting the cookies.
public HandleResponse ( object connection ) : void
connection object Connection instance of the response
Результат void

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

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