aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/service/auth.cpp
blob: 2a068970eaaabc5e36da23f4812d230357d7f465 (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