MCPcopy Create free account
hub / github.com/apple/foundationdb / setAuthToken

Method setAuthToken

fdbserver/workloads/Cycle.actor.cpp:151–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150 template <bool B = MultiTenancy>
151 std::enable_if_t<B> setAuthToken(Transaction& tr) const {
152 if (this->useToken)
153 tr.setOption(FDBTransactionOptions::AUTHORIZATION_TOKEN, this->signedToken);
154 }
155
156 template <bool B = MultiTenancy>
157 std::enable_if_t<!B> setAuthToken(Transaction& tr) const {}

Callers 4

cycleClientMethod · 0.95
cycleCheckMethod · 0.95
BulkSetup.actor.hFile · 0.80
setAuthTokenFunction · 0.80

Calls 1

setOptionMethod · 0.65

Tested by

no test coverage detected