MCPcopy Create free account
hub / github.com/baidu/tera / GetToken

Method GetToken

src/master/user_manager.cc:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42std::string User::GetToken() {
43 MutexLock locker(&mutex_);
44 return user_info_.token();
45}
46
47void User::ToMetaTableKeyValue(std::string* packed_key, std::string* packed_value) {
48 MutexLock locker(&mutex_);

Callers 2

UserNameToTokenMethod · 0.45
TokenToUserNameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected