C# 클래스 org.GraphDefined.Vanaheimr.Hermod.HTTP.HTTPBasicAuthentication

A HTTP basic authentication.
파일 보기 프로젝트 열기: Vanaheimr/Hermod 1 사용 예제들

공개 메소드들

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