| 98 | } |
| 99 | |
| 100 | SignedTokenPB 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 | |
| 108 | SignedTokenPB MakeIncompatibleToken() { |
| 109 | SignedTokenPB ret; |
no test coverage detected