userver: userver/server/auth/user_provider.hpp Source File
Loading...
Searching...
No Matches
user_provider.hpp
1#pragma once
2
3#include <string>
4
5USERVER_NAMESPACE_BEGIN
6
7namespace server::auth {
8
9// Possible values of 'X-Ya-User-Ticket-Provider' header.
10enum class UserProvider : int {
11 kYandex,
12 kYandexTeam,
13};
14
15std::string ToString(UserProvider provider);
16
17} // namespace server::auth
18
19USERVER_NAMESPACE_END