Home
last modified time | relevance | path

Searched refs:JSON_AUTH_TYPE (Results 1 - 1 of 1) sorted by relevance

/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_json.cpp43 const std::string JSON_AUTH_TYPE = "type"; member
80 jsonPayload[JSON_AUTH_TYPE] = cmd.type; in GetJsonPayload()
116 {JSON_AUTH_TYPE, command.typeList}, in GetJsonCmd()
245 auto type = nlohmann::json({{JSON_AUTH_TYPE, notice.typeList}, in to_json()
288 if (jsonNotice[JSON_AUTH_PAYLOAD].find(JSON_AUTH_TYPE) != jsonNotice[JSON_AUTH_PAYLOAD].end() && in from_json()
289 jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].is_array()) { in from_json()
290 for (size_t index = 0; index < jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].size(); index++) { in from_json()
291 if (!jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].at(index).is_string()) { in from_json()
295 notice.typeList.emplace_back(jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].at(index).get<std::string>()); in from_json()

Completed in 2 milliseconds