C# Class FluentHttp.Authenticators.HttpBasicAuthenticator

Represents a http basic authenticator.
Inheritance: IFluentAuthenticator
Exibir arquivo Open project: prabirshrestha/FluentHttp

Public Methods

Method Description
Authenticate ( FluentHttpRequest fluentHttpRequest ) : void

Authenticates the fluent http request using http basic authentication.

HttpBasicAuthenticator ( string username, string password ) : System

Initializes a new instance of the HttpBasicAuthenticator class.

Method Details

Authenticate() public method

Authenticates the fluent http request using http basic authentication.
public Authenticate ( FluentHttpRequest fluentHttpRequest ) : void
fluentHttpRequest FluentHttpRequest /// The fluent http request. ///
return void

HttpBasicAuthenticator() public method

Initializes a new instance of the HttpBasicAuthenticator class.
public HttpBasicAuthenticator ( string username, string password ) : System
username string
password string
return System