aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/tvmauth/utils.h
blob: ad8950cab58c5098f24f434ca136a93553ed59b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <util/generic/strbuf.h>

namespace NTvmAuth::NUtils {
    /*!
     * Remove signature from ticket string - rest part can be parsed later with `tvmknife parse_ticket ...`
     * @param ticketBody Raw ticket body
     * @return safe for logging part of ticket
     */
    TStringBuf RemoveTicketSignature(TStringBuf ticketBody);
}