C# 클래스 Ctf.Communication.LoginCommand

상속: BaseCommand
파일 보기 프로젝트 열기: blstream/Patronage2013-CaptureTheFlag 1 사용 예제들

공개 메소드들

메소드 설명
LogInAs ( UserCredentials user, string secret ) : Task

Logs the in as.

LogOut ( ) : bool

Logs the out.

LoggedAs ( ) : User

Loggeds as.

LoginCommand ( ) : RestSharp

Initializes a new instance of the Login class.

RequestCallbackOnFail ( String errorMessage ) : void

Requests the callback on fail.

RequestCallbackOnSuccess ( IRestResponse response ) : void

Requests the callback on success.

메소드 상세

LogInAs() 공개 메소드

Logs the in as.
public LogInAs ( UserCredentials user, string secret ) : Task
user Ctf.ApplicationTools.DataObjects.UserCredentials The user.
secret string The secret.
리턴 Task

LogOut() 공개 메소드

Logs the out.
public LogOut ( ) : bool
리턴 bool

LoggedAs() 공개 메소드

Loggeds as.
public LoggedAs ( ) : User
리턴 Ctf.ApplicationTools.DataObjects.User

LoginCommand() 공개 메소드

Initializes a new instance of the Login class.
public LoginCommand ( ) : RestSharp
리턴 RestSharp

RequestCallbackOnFail() 공개 메소드

Requests the callback on fail.
public RequestCallbackOnFail ( String errorMessage ) : void
errorMessage String The error message.
리턴 void

RequestCallbackOnSuccess() 공개 메소드

Requests the callback on success.
public RequestCallbackOnSuccess ( IRestResponse response ) : void
response IRestResponse The response.
리턴 void