Home
last modified time | relevance | path

Searched refs:serialized_token (Results 1 – 2 of 2) sorted by relevance

/external/libweave/src/privet/
Dauth_manager.cc178 std::vector<uint8_t> serialized_token(kMaxMacaroonSize); in CreateMacaroonToken() local
180 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() local
208 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()
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Dtest_oauth2_client.py222 serialized_token = token.Serialize()
223 LOG.debug('testSerialization: serialized_token=%s', serialized_token)
225 token2 = oauth2_client.AccessToken.UnSerialize(serialized_token)