/// <summary>
        /// 添加远程位图终端配置
        /// </summary>
        /// <param name="builder"></param>
        /// <returns></returns>
        public static BitmapAuthorizationBuilder AddRemoteBitmapEndpointProvider(this BitmapAuthorizationBuilder builder)
        {
            builder.Services.AddOptions <RemoteBitmapEndpointOptions>()
            .Bind(RemoteBitmapEndpointOptions.Option);

            builder.Services.TryAddSingleton <IBitmapEndpointProvider, RemoteBitmapEndpointProvider>();
            return(builder);
        }
        /// <summary>
        /// Use default Provider Configuration
        /// </summary>
        /// <param name="builder"></param>
        /// <returns></returns>
        public static BitmapAuthorizationBuilder AddConfigurationProvider(this BitmapAuthorizationBuilder builder)
        {
            builder.Services.AddOptions <ConfigurationEndpointOptions>()
            .Bind(ConfigurationEndpointOptions.Option);

            builder.Services.TryAddSingleton <IBitmapEndpointProvider, ConfigurationBitmapEndpointProvider>();
            return(builder);
        }
 /// <summary>
 /// 添加本地位图终端配置
 /// </summary>
 /// <param name="builder"></param>
 /// <returns></returns>
 public static BitmapAuthorizationBuilder AddLocalBitmapEndpointProvider(this BitmapAuthorizationBuilder builder)
 {
     builder.Services.TryAddSingleton <IBitmapEndpointProvider, LocalBitmapEndpointProvider>();
     return(builder);
 }