C# 클래스 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.

파일 보기 프로젝트 열기: Icenium/ngit 1 사용 예제들

비공개 메소드들

메소드 설명
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.