C# Class WLWWorkaround.WLWService

Exibir arquivo Open project: erikzaadi/AtomSitePlugins

Public Methods

Method Description
Authenticate ( string Username, string Password, int ExpiresInMinutes, IContainer Container, System.Web.HttpContextBase CurrentContext ) : bool

Authenticates a user and enableds the Windows Live Writer workaround

Disable ( System.Web.HttpContextBase CurrentContext ) : void

Disables the Windows Live Writer workaround

IsActive ( System.Web.HttpContextBase CurrentContext ) : bool
SetWLWUserIfAvailable ( HttpContext CurrentContext ) : void

Method Details

Authenticate() public static method

Authenticates a user and enableds the Windows Live Writer workaround
public static Authenticate ( string Username, string Password, int ExpiresInMinutes, IContainer Container, System.Web.HttpContextBase CurrentContext ) : bool
Username string
Password string
ExpiresInMinutes int Number of minutes to keep the workaround alive
Container IContainer
CurrentContext System.Web.HttpContextBase
return bool

Disable() public static method

Disables the Windows Live Writer workaround
public static Disable ( System.Web.HttpContextBase CurrentContext ) : void
CurrentContext System.Web.HttpContextBase
return void

IsActive() public static method

public static IsActive ( System.Web.HttpContextBase CurrentContext ) : bool
CurrentContext System.Web.HttpContextBase
return bool

SetWLWUserIfAvailable() public static method

public static SetWLWUserIfAvailable ( HttpContext CurrentContext ) : void
CurrentContext System.Web.HttpContext
return void