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