C# Class WebGAC.Core.CredentialsHelper

Show file Open project: paulj/webgac

Public Methods

Method Description
GetCredentials ( string pHost, int pPort, string pAuthType, string pMsg, bool &savePwd, string pTitle, bool pAlwaysShowUI, string pRealm ) : NetworkCredential
HandleCredentialsRequest ( Uri pRequestUri, string pAuthType, NameValueCollection pAuthParams, bool pIsFirst ) : NetworkCredential
HandleReadOnlyCredentialsRequest ( Uri pRequestUri, string pAuthType, NameValueCollection pAuthParams, bool pIsFirst ) : NetworkCredential

Private Methods

Method Description
CredFree ( IntPtr credentialPtr ) : bool
CredRead ( string target, CRED_TYPE type, int reservedFlag, IntPtr &credentialPtr ) : bool
CredUIPromptForCredentials ( CREDUI_INFO &creditUR, string targetName, IntPtr reserved1, int iError, StringBuilder userName, int maxUserName, StringBuilder password, int maxPassword, [ pfSave, CREDUI_FLAGS flags ) : CredUIReturnCodes
PromptForCredentials ( CREDUI_INFO &creditUI, string targetName, int netError, string &userName, string &password, bool &save, CREDUI_FLAGS flags ) : CredUIReturnCodes

Method Details

GetCredentials() public static method

public static GetCredentials ( string pHost, int pPort, string pAuthType, string pMsg, bool &savePwd, string pTitle, bool pAlwaysShowUI, string pRealm ) : NetworkCredential
pHost string
pPort int
pAuthType string
pMsg string
savePwd bool
pTitle string
pAlwaysShowUI bool
pRealm string
return System.Net.NetworkCredential

HandleCredentialsRequest() public method

public HandleCredentialsRequest ( Uri pRequestUri, string pAuthType, NameValueCollection pAuthParams, bool pIsFirst ) : NetworkCredential
pRequestUri System.Uri
pAuthType string
pAuthParams System.Collections.Specialized.NameValueCollection
pIsFirst bool
return System.Net.NetworkCredential

HandleReadOnlyCredentialsRequest() public method

public HandleReadOnlyCredentialsRequest ( Uri pRequestUri, string pAuthType, NameValueCollection pAuthParams, bool pIsFirst ) : NetworkCredential
pRequestUri System.Uri
pAuthType string
pAuthParams System.Collections.Specialized.NameValueCollection
pIsFirst bool
return System.Net.NetworkCredential