Exemplo n.º 1
0
        /// <inheritdoc cref="IMqttClientConfigBuilder.UseExtendedAuthenticationExchangeHandler(IMqttExtendedAuthenticationExchangeHandler)" />
        public IMqttClientConfigBuilder UseExtendedAuthenticationExchangeHandler(
            IMqttExtendedAuthenticationExchangeHandler handler)
        {
            Check.NotNull(handler, nameof(handler));

            _builder.WithExtendedAuthenticationExchangeHandler(handler);
            return(this);
        }
Exemplo n.º 2
0
 public MqttClientOptionsBuilder WithExtendedAuthenticationExchangeHandler(IMqttExtendedAuthenticationExchangeHandler handler)
 {
     _options.ExtendedAuthenticationExchangeHandler = handler;
     return(this);
 }