aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/net/tls/authorization_mode.h
blob: f8588c23441a56d57a44511ab01802fe8e29501e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <iosfwd>

namespace vespalib::net::tls {

enum class AuthorizationMode {
    Disable,
    LogOnly,
    Enforce
};

const char* enum_name(AuthorizationMode) noexcept;

std::ostream& operator<<(std::ostream&, AuthorizationMode);

}