summaryrefslogtreecommitdiffstats
path: root/library/cpp/tvmauth/deprecated/user_context.cpp
diff options
context:
space:
mode:
authoralexnick <[email protected]>2022-02-17 14:23:34 +0300
committeralexnick <[email protected]>2022-02-17 14:23:34 +0300
commitfd03a905d0671edeffde43ade486dc608bf69d95 (patch)
treed01659ada27349df9be25f8a8d5dab4f9ec4cd12 /library/cpp/tvmauth/deprecated/user_context.cpp
parent3dba88133a0e2bf63394fdba2affc51a771eff03 (diff)
remove tvm dependecy KIKIMR-14386
ref:d40a6e54d3da55ed1f9c9a0763552940acb0988b
Diffstat (limited to 'library/cpp/tvmauth/deprecated/user_context.cpp')
-rw-r--r--library/cpp/tvmauth/deprecated/user_context.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/library/cpp/tvmauth/deprecated/user_context.cpp b/library/cpp/tvmauth/deprecated/user_context.cpp
deleted file mode 100644
index 712f622f1a8..00000000000
--- a/library/cpp/tvmauth/deprecated/user_context.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <library/cpp/tvmauth/checked_user_ticket.h>
-#include <library/cpp/tvmauth/src/user_impl.h>
-
-namespace NTvmAuth {
- static const char* EX_MSG = "UserContext already moved out";
-
- TUserContext::TUserContext(EBlackboxEnv env, TStringBuf tvmKeysResponse)
- : Impl_(MakeHolder<TImpl>(env, tvmKeysResponse))
- {
- }
-
- TUserContext::TUserContext(TUserContext&& o) = default;
- TUserContext& TUserContext::operator=(TUserContext&& o) = default;
- TUserContext::~TUserContext() = default;
-
- TCheckedUserTicket TUserContext::Check(TStringBuf ticketBody) const {
- Y_ENSURE(Impl_, EX_MSG);
- return Impl_->Check(ticketBody);
- }
-}