C# Class KMCCC.Modules.Yggdrasil.DebuggableYggdrasilClient

Yggdrasil(正版验证)客户端
Mostrar archivo Open project: cvronmin/metocraft Class Usage Examples

Private Properties

Property Type Description
UpdateFomrResponse void

Public Methods

Method Description
Authenticate ( string email, string password, bool twitchEnabled = true ) : bool
AuthenticateAsync ( string email, string password, bool twitchEnabled = true, CancellationToken token = default(CancellationToken) ) : Task
Clear ( ) : void
DebuggableYggdrasilClient ( System.Guid clientToken ) : System
DebuggableYggdrasilClient ( string authServer = null ) : System
DebuggableYggdrasilClient ( string authServer, System.Guid clientToken ) : System
Refresh ( System.Guid accessToken, bool twitchEnabled = true ) : bool
Refresh ( bool twitchEnabled = true ) : bool

Private Methods

Method Description
UpdateFomrResponse ( KMCCC.Modules.Yggdrasil.AuthenticationResponse response ) : void

Method Details

Authenticate() public method

public Authenticate ( string email, string password, bool twitchEnabled = true ) : bool
email string
password string
twitchEnabled bool
return bool

AuthenticateAsync() public method

public AuthenticateAsync ( string email, string password, bool twitchEnabled = true, CancellationToken token = default(CancellationToken) ) : Task
email string
password string
twitchEnabled bool
token System.Threading.CancellationToken
return Task

Clear() public method

public Clear ( ) : void
return void

DebuggableYggdrasilClient() public method

public DebuggableYggdrasilClient ( System.Guid clientToken ) : System
clientToken System.Guid
return System

DebuggableYggdrasilClient() public method

public DebuggableYggdrasilClient ( string authServer = null ) : System
authServer string
return System

DebuggableYggdrasilClient() public method

public DebuggableYggdrasilClient ( string authServer, System.Guid clientToken ) : System
authServer string
clientToken System.Guid
return System

Refresh() public method

public Refresh ( System.Guid accessToken, bool twitchEnabled = true ) : bool
accessToken System.Guid
twitchEnabled bool
return bool

Refresh() public method

public Refresh ( bool twitchEnabled = true ) : bool
twitchEnabled bool
return bool