C# Класс org.GraphDefined.Vanaheimr.Hermod.HTTP.HTTPBasicAuthentication

A HTTP basic authentication.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

HTTPBasicAuthentication() публичный Метод

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.
Результат System

ToString() публичный Метод

Return a string representation of this object.
public ToString ( ) : String
Результат String

TryParse() публичный статический Метод

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.
Результат System.Boolean