메소드 | 설명 | |
---|---|---|
CreateProfile ( string email, string password ) : void |
Creates a user profile, which is stored on disk. Password will be encrypted using machine key. Created profile will be set as active profile.
|
|
DeleteProfile ( string email ) : void | ||
GetProfileData ( bool force = false ) : |
Get json profile data for active profile. Will attempt login. It's only possible to get fresh data every 60 seconds
|
|
LoadProfile ( string email ) : bool |
Loads a profile and sets it as active.
|
|
Login ( ) : |
Logins active profile
|
|
RestTime ( ) : System.TimeSpan |
returns the time until cache is no more valid
|
|
RestTimeReset ( ) : void |
sets the cooldowntimer to "finished"
|
|
SubmitVerification ( string verificationCode ) : |
Use to submit verification code, which is sent as an email to the user on first log in or cookie has expired.
|
메소드 | 설명 | |
---|---|---|
EliteCompanion ( ) : System | ||
GetProfileDataInternal ( bool force ) : |
||
LoginInternal ( ) : |
||
SubmitVerificationInternal ( string verificationCode ) : |
public CreateProfile ( string email, string password ) : void | ||
string | Email of user | |
password | string | Password of user |
리턴 | void |
public GetProfileData ( bool force = false ) : |
||
force | bool | |
리턴 |
public SubmitVerification ( string verificationCode ) : |
||
verificationCode | string | The five character code sent to the user |
리턴 |