public AlterDiceClient(string clientName, AlterDiceClientOptions exchangeOptions, AuthenticationProvider authenticationProvider) : base(clientName, exchangeOptions, authenticationProvider) { LoginEmail = exchangeOptions.Login; Password = exchangeOptions.Password; if (!String.IsNullOrEmpty(LoginEmail) && !String.IsNullOrEmpty(Password) && authenticationProvider == null) { LoginAsync().GetAwaiter().GetResult(); } }
public AlterDiceClient(AlterDiceClientOptions exchangeOptions, AlterDiceAuthenticationProvider authenticationProvider) : this("AlterDiceClient", exchangeOptions, authenticationProvider) { }
public AlterDiceClient(AlterDiceClientOptions opts) : this("AlterDiceClient", opts, null) { }