blob: f0cfe11968dbd4bda7d788ae9b959b7a351afe60 [file] [log] [blame]
Borawski.Lukaszc1a46bd2018-02-08 13:31:59 +01001/*
2// Copyright (c) 2018 Intel Corporation
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15*/
16#pragma once
17
Borawski.Lukasz4b1b8682018-04-04 12:50:16 +020018#include "security_headers_middleware.hpp"
Borawski.Lukaszc1a46bd2018-02-08 13:31:59 +010019#include "token_authorization_middleware.hpp"
Borawski.Lukaszc1a46bd2018-02-08 13:31:59 +010020#include "webserver_common.hpp"
21
Ed Tanous55c7b7a2018-05-22 15:27:24 -070022using CrowApp = crow::App<crow::persistent_data::Middleware,
23 crow::token_authorization::Middleware,
Borawski.Lukaszc1a46bd2018-02-08 13:31:59 +010024 crow::SecurityHeadersMiddleware>;