C# Class PocketCampus.Authentication.Services.TequilaAuthenticator

Authenticates users to Tequila.
Inheritance: IAuthenticator
Datei anzeigen Open project: accandme/pocketcampus

Public Methods

Method Description
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.

Method Details

AuthenticateAsync() public method

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

AuthenticateAsync() public method

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
return Task

LogOffAsync() public method

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

TequilaAuthenticator() public method

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