Méthode | 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 |
Méthode | 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.
|
Méthode | 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 | |
Résultat | ICredentials |
protected abstract InitializeCredentialProxy ( |
||
uri | ||
originalProxy | IWebProxy | |
Résultat | void |
public VisualStudioCredentialProvider ( ) : System | ||
Résultat | System |
public VisualStudioCredentialProvider ( IVsWebProxy webProxyService ) : System | ||
webProxyService | IVsWebProxy | |
Résultat | System |