aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/service/auth.cpp
blob: ddabcfbbf74a62b31bf0009093119628f2856c21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "auth.h"

#include <util/generic/hash_set.h>


namespace NMonitoring {
namespace {
    class TFakeAuthProvider final: public IAuthProvider {
    public:
        TAuthResult Check(const IHttpRequest&) override {
            return TAuthResult::Ok();
        }
    };

} // namespace

THolder<IAuthProvider> CreateFakeAuth() {
    return MakeHolder<TFakeAuthProvider>();
}


} // namespace NMonitoring