Searched refs:serialized_token (Results 1 – 2 of 2) sorted by relevance
178 std::vector<uint8_t> serialized_token(kMaxMacaroonSize); in CreateMacaroonToken() local180 CHECK(uw_macaroon_serialize_(&macaroon, serialized_token.data(), in CreateMacaroonToken()181 serialized_token.size(), &len)); in CreateMacaroonToken()182 serialized_token.resize(len); in CreateMacaroonToken()184 return serialized_token; in CreateMacaroonToken()206 std::vector<uint8_t> serialized_token(kMaxMacaroonSize); in ExtendMacaroonToken() local208 CHECK(uw_macaroon_serialize_(&prev_macaroon, serialized_token.data(), in ExtendMacaroonToken()209 serialized_token.size(), &len)); in ExtendMacaroonToken()210 serialized_token.resize(len); in ExtendMacaroonToken()212 return serialized_token; in ExtendMacaroonToken()
222 serialized_token = token.Serialize()223 LOG.debug('testSerialization: serialized_token=%s', serialized_token)225 token2 = oauth2_client.AccessToken.UnSerialize(serialized_token)