C# Class NGit.Transport.HttpAuthMethod

Support class to populate user authentication data on a connection.
Support class to populate user authentication data on a connection.

Instances of an HttpAuthMethod are not thread-safe, as some implementations may need to maintain per-connection state information.

Afficher le fichier Open project: Icenium/ngit Class Usage Examples

Private Methods

Méthode Description
Authorize ( NGit.Transport.URIish uri, NGit.Transport.CredentialsProvider credentialsProvider ) : bool

Update this method with the credentials from the URIish.

Update this method with the credentials from the URIish.

Authorize ( string user, string pass ) : void

Update this method with the given username and password pair.

Update this method with the given username and password pair.

ConfigureRequest ( HttpURLConnection conn ) : void

Update connection properties based on this authentication method.

Update connection properties based on this authentication method.

ScanResponse ( HttpURLConnection conn ) : HttpAuthMethod

Handle an authentication failure and possibly return a new response.

Handle an authentication failure and possibly return a new response.