C# Class CmisSync.Lib.Cmis.PersistentStandardAuthenticationProvider

Persistent standard authentication provider.
Inheritance: DotCMIS.Binding.StandardAuthenticationProvider, IDisposableAuthProvider
ファイルを表示 Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Dispose the specified disposing.

Method Details

DeleteAllCookies() public method

Deletes all cookies.
public DeleteAllCookies ( ) : void
return void

Dispose() public method

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
return void

Dispose() protected method

Dispose the specified disposing.
protected Dispose ( bool disposing ) : void
disposing bool If set to true disposing.
return void

HandleResponse() public method

Handles the HttpWebResponse by extracting the cookies.
public HandleResponse ( object connection ) : void
connection object Connection instance of the response
return void

PersistentStandardAuthenticationProvider() public method

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
return System