C# Class KMCCC.Modules.Yggdrasil.DebuggableYggdrasilClient

Yggdrasil(正版验证)客户端
Afficher le fichier Open project: cvronmin/metocraft Class Usage Examples

Private Properties

Свойство Type Description
UpdateFomrResponse void

Méthodes publiques

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

Méthode Description
UpdateFomrResponse ( KMCCC.Modules.Yggdrasil.AuthenticationResponse response ) : void

Method Details

Authenticate() public méthode

public Authenticate ( string email, string password, bool twitchEnabled = true ) : bool
email string
password string
twitchEnabled bool
Résultat bool

AuthenticateAsync() public méthode

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

Clear() public méthode

public Clear ( ) : void
Résultat void

DebuggableYggdrasilClient() public méthode

public DebuggableYggdrasilClient ( System.Guid clientToken ) : System
clientToken System.Guid
Résultat System

DebuggableYggdrasilClient() public méthode

public DebuggableYggdrasilClient ( string authServer = null ) : System
authServer string
Résultat System

DebuggableYggdrasilClient() public méthode

public DebuggableYggdrasilClient ( string authServer, System.Guid clientToken ) : System
authServer string
clientToken System.Guid
Résultat System

Refresh() public méthode

public Refresh ( System.Guid accessToken, bool twitchEnabled = true ) : bool
accessToken System.Guid
twitchEnabled bool
Résultat bool

Refresh() public méthode

public Refresh ( bool twitchEnabled = true ) : bool
twitchEnabled bool
Résultat bool