Home
last modified time | relevance | path

Searched refs:access_token_ (Results 1 – 5 of 5) sorted by relevance

/external/libweave/src/
Ddevice_registration_info.cc151 access_token_ = access_token; in SetAccessToken()
173 if (!access_token_.empty()) in GetFullHeaders()
174 headers.emplace_back(http::kAuthorization, "Bearer " + access_token_); in GetFullHeaders()
184 std::string access_token_; member in weave::__anon9ac366940111::RequestSender
407 if (!json->GetString("access_token", &access_token_) || in OnRefreshAccessTokenDone()
408 !json->GetInteger("expires_in", &expires_in) || access_token_.empty() || in OnRefreshAccessTokenDone()
467 new XmppChannel{GetSettings().robot_account, access_token_, in StartNotificationChannel()
621 if (!json_resp || !json_resp->GetString("access_token", &access_token_) || in RegisterDeviceOnAuthCodeSent()
624 access_token_.empty() || refresh_token.empty() || expires_in <= 0) { in RegisterDeviceOnAuthCodeSent()
689 sender.SetAccessToken(access_token_); in SendCloudRequest()
[all …]
Ddevice_registration_info.h295 std::string access_token_; variable
Ddevice_registration_info_unittest.cc191 void SetAccessToken() { dev_reg_->access_token_ = test_data::kAccessToken; } in SetAccessToken()
/external/libweave/src/notification/
Dxmpp_channel.cc97 access_token_{access_token},
167 SendMessage(BuildXmppAuthenticateCommand(account_, access_token_)); in HandleStanza()
Dxmpp_channel.h129 std::string access_token_; variable