C# Class WLWWorkaround.WLWService

Afficher le fichier Open project: erikzaadi/AtomSitePlugins

Méthodes publiques

Méthode 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 méthode

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
Résultat bool

Disable() public static méthode

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

IsActive() public static méthode

public static IsActive ( System.Web.HttpContextBase CurrentContext ) : bool
CurrentContext System.Web.HttpContextBase
Résultat bool

SetWLWUserIfAvailable() public static méthode

public static SetWLWUserIfAvailable ( HttpContext CurrentContext ) : void
CurrentContext System.Web.HttpContext
Résultat void