コード例 #1
0
        public void ConfigureServices(IServiceCollection services)
        {
            services
            .AddDeveloperIdentityServer()
            .AddInMemoryClients(Config.GetClients())
            .AddInMemoryScopes(Config.GetScopes())
            .AddInMemoryUsers(Config.GetUsers());

            services.AddMvc();
        }