C# 클래스 PocketCampus.Authentication.Services.TequilaAuthenticator

Authenticates users to Tequila.
상속: IAuthenticator
파일 보기 프로젝트 열기: accandme/pocketcampus

공개 메소드들

메소드 설명
AuthenticateAsync ( string userName, string password ) : Task

Asynchronously attempts to authenticate using the specified user name and password.

AuthenticateAsync ( string userName, string password, string serviceKey ) : Task

Asynchronously attempts to authenticate using the specified user name and password, for the service specified by a key.

LogOffAsync ( ) : System.Threading.Tasks.Task

Asynchronously logs off from Tequila.

TequilaAuthenticator ( IHttpClient client ) : System.Collections.Generic

Creates a new TequilaAuthenticator.

메소드 상세

AuthenticateAsync() 공개 메소드

Asynchronously attempts to authenticate using the specified user name and password.
public AuthenticateAsync ( string userName, string password ) : Task
userName string
password string
리턴 Task

AuthenticateAsync() 공개 메소드

Asynchronously attempts to authenticate using the specified user name and password, for the service specified by a key.
public AuthenticateAsync ( string userName, string password, string serviceKey ) : Task
userName string
password string
serviceKey string
리턴 Task

LogOffAsync() 공개 메소드

Asynchronously logs off from Tequila.
public LogOffAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

TequilaAuthenticator() 공개 메소드

Creates a new TequilaAuthenticator.
public TequilaAuthenticator ( IHttpClient client ) : System.Collections.Generic
client IHttpClient
리턴 System.Collections.Generic