C# Class AK.F1.Timing.Live.LiveAuthenticationService

Logs users into the live-timing service. This class is .
Exibir arquivo Open project: simoneb/ak-f1-timing

Public Methods

Method Description
Login ( string username, string password ) : AuthenticationToken

Logs into the live-timing service using the specified credentials.

Private Methods

Method Description
FetchLoginResponseCookies ( string username, string password ) : CookieCollection
GetLoginRequestContent ( string email, string password ) : byte[]

Method Details

Login() public static method

Logs into the live-timing service using the specified credentials.
/// Thrown when or is /// . /// /// Thrown when or is empty. /// /// Thrown when an IO error occurs fetching the authentication token. /// /// Thrown when the supplied credentials have been rejected by the live-timing site. ///
public static Login ( string username, string password ) : AuthenticationToken
username string The user's F1 live-timing username.
password string The user's F1 live-timing password.
return AuthenticationToken