// This method gets called by the runtime. Use this method to configure the HTTP ticketRequest pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env, AuthorizationPlayContext context) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } context.Database.Migrate(); app.UseHttpsRedirection(); app.UseRouting(); app.UseAuthorization(); app.UseEndpoints(endpoints => { endpoints.MapControllers(); }); app.UseSwagger(); app.UseSwaggerUI(c => { c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1"); }); }
public DataProviderStorage(AuthorizationPlayContext context) { this.context = context; }
public DataSchemaStorage(AuthorizationPlayContext context) { this.context = context; }
public PermissionGrantStorage(AuthorizationPlayContext context) { this.context = context; }
public ResourceActionController(AuthorizationPlayContext context) { this.context = context; }
public PrincipalStorage(AuthorizationPlayContext context) { this.context = context; }
public ResourceStorage(AuthorizationPlayContext context) { this.context = context; }