C# Class TpTrayUtility.Components.TpAuthenticationManager

Inheritance: IAuthProvider
Show file Open project: TargetProcess/Tp.TrayUtility

Public Methods

Method Description
Authenticate ( string userName, string userPassword, bool isIntegrated, string processPath ) : Exception
ChangeLogin ( ) : void
GetCredentials ( ) : ICredentials
GetCredentials ( bool isIntegratedAuth, string name, string pwd ) : ICredentials
TpAuthenticationManager ( ) : System
TryAuthentificate ( string userName, string password, bool isIntegrated, string processPath ) : bool

Method Details

Authenticate() public method

public Authenticate ( string userName, string userPassword, bool isIntegrated, string processPath ) : Exception
userName string
userPassword string
isIntegrated bool
processPath string
return System.Exception

ChangeLogin() public method

public ChangeLogin ( ) : void
return void

GetCredentials() public method

public GetCredentials ( ) : ICredentials
return ICredentials

GetCredentials() public static method

public static GetCredentials ( bool isIntegratedAuth, string name, string pwd ) : ICredentials
isIntegratedAuth bool
name string
pwd string
return ICredentials

TpAuthenticationManager() public method

public TpAuthenticationManager ( ) : System
return System

TryAuthentificate() public method

public TryAuthentificate ( string userName, string password, bool isIntegrated, string processPath ) : bool
userName string
password string
isIntegrated bool
processPath string
return bool