MCPcopy Create free account
hub / github.com/apache/impala / MakeUnsignedToken

Function MakeUnsignedToken

be/src/kudu/security/token-test.cc:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100SignedTokenPB MakeUnsignedToken(int64_t expiration) {
101 SignedTokenPB ret;
102 TokenPB token;
103 token.set_expire_unix_epoch_seconds(expiration);
104 CHECK(token.SerializeToString(ret.mutable_token_data()));
105 return ret;
106}
107
108SignedTokenPB MakeIncompatibleToken() {
109 SignedTokenPB ret;

Callers 1

TEST_FFunction · 0.85

Calls 1

SerializeToStringMethod · 0.80

Tested by

no test coverage detected