C# Class PocketCampus.Authentication.Services.TequilaAuthenticator

Authenticates users to Tequila.
Inheritance: IAuthenticator
Afficher le fichier Open project: accandme/pocketcampus

Méthodes publiques

Méthode 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 méthode

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

AuthenticateAsync() public méthode

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
Résultat Task

LogOffAsync() public méthode

Asynchronously logs off from Tequila.
public LogOffAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

TequilaAuthenticator() public méthode

Creates a new TequilaAuthenticator.
public TequilaAuthenticator ( IHttpClient client ) : System.Collections.Generic
client IHttpClient
Résultat System.Collections.Generic