C# Класс PocketCampus.Authentication.Services.TequilaAuthenticator

Authenticates users to Tequila.
Наследование: IAuthenticator
Показать файл Открыть проект

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

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