C# Class org.GraphDefined.Vanaheimr.Hermod.HTTP.HTTPBasicAuthentication

A HTTP basic authentication.
Exibir arquivo Open project: Vanaheimr/Hermod Class Usage Examples

Public Methods

Method Description
HTTPBasicAuthentication ( String Username, String Password ) : System

Create the credentials based on a base64 encoded string which comes from a HTTP header Authentication:

ToString ( ) : String

Return a string representation of this object.

TryParse ( String Text, HTTPBasicAuthentication &BasicAuthentication ) : System.Boolean

Try to parse the given text.

Method Details

HTTPBasicAuthentication() public method

Create the credentials based on a base64 encoded string which comes from a HTTP header Authentication:
public HTTPBasicAuthentication ( String Username, String Password ) : System
Username String The username.
Password String The password.
return System

ToString() public method

Return a string representation of this object.
public ToString ( ) : String
return String

TryParse() public static method

Try to parse the given text.
public static TryParse ( String Text, HTTPBasicAuthentication &BasicAuthentication ) : System.Boolean
Text String A text representation of a HTTP basic authentication header.
BasicAuthentication HTTPBasicAuthentication The parsed HTTP basic authentication header.
return System.Boolean