Method | Description | |
---|---|---|
GetCredentials ( |
Returns an ICredentials instance that the consumer would need in order to properly authenticate to the given Uri.
|
|
VisualStudioCredentialProvider ( ) : System | ||
VisualStudioCredentialProvider ( IVsWebProxy webProxyService ) : System |
Method | Description | |
---|---|---|
InitializeCredentialProxy ( |
THIS IS KINDA HACKISH: we are forcing the static property just so that the VsWebProxy can pick up the Uri. This method is responsible for initializing the WebRequest.DefaultWebProxy to the correct Uri based on the type of request that credentials are needed for before we prompt for credentials because the VsWebProxy uses that static property as a way to display the Uri that we are connecting to.
|
Method | Description | |
---|---|---|
PromptForCredentials ( |
This method is responsible for retrieving either cached credentials or forcing a prompt if we need the user to give us new credentials.
|
public GetCredentials ( |
||
uri | ||
proxy | IWebProxy | |
credentialType | CredentialType | |
return | ICredentials |
protected abstract InitializeCredentialProxy ( |
||
uri | ||
originalProxy | IWebProxy | |
return | void |
public VisualStudioCredentialProvider ( ) : System | ||
return | System |
public VisualStudioCredentialProvider ( IVsWebProxy webProxyService ) : System | ||
webProxyService | IVsWebProxy | |
return | System |