Beispiel #1
0
 public void ConfigureServices(IServiceCollection services)
 {
     services.AddMvc();
     services.AddIdentityServer()
     .AddDeveloperSigningCredential()
     .AddInMemoryPersistedGrants()
     .AddInMemoryIdentityResources(ScopeConfiguration.GetIdentityResources())
     .AddInMemoryApiResources(ApiConfiguration.Get())
     .AddInMemoryClients(ClientConfiguration.Get())
     .AddTestUsers(UserConfiguration.Get());
 }