Ejemplo n.º 1
0
        public Startup(IConfiguration configuration)
        {
            _configuration = configuration;

            //1.往静态类里面映射
            //configuration.GetSection("Logging").Bind(MySettings.Setting);

            JwtHelper.GetConfiguration(_configuration);
        }
Ejemplo n.º 2
0
 public Startup(IConfiguration configuration)
 {
     _configuration = configuration;
     //传递Configuration对象
     JwtHelper.GetConfiguration(_configuration);
 }
Ejemplo n.º 3
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     JwtHelper.GetConfiguration(Configuration);
 }