aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/net/tls/authorization_mode.h
blob: 6835cdea9e92cfc47b4a46453b2efef5f3514120 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. 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);

}