summaryrefslogtreecommitdiffstats
path: root/src/agl-identity-binding.c
AgeCommit message (Collapse)AuthorFilesLines
2019-05-02binding: identity: read vin and user token from nfc tagRaquel Medina1-12/+45
Original idea and rework from Scott Murray for CES 2019 (funky flounder). This is a simplified version to match agl-service-nfc which in master is not providing all tag record fields but just the content value. To test an nfc tag must be programmed with a text record with value vin:uid. Bug-AGL: SPEC-2158 Change-Id: I12fb8e6b3f9e8259bc3c13829e44f7f0e0159f0a Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit b2676e6e8aae3c6002e9ed3f2c0fa68176051d96)
2019-05-01binding: identity: fix segfault & update to v3 forgerock binding callsRaquel Medina1-97/+148
On user login via nfc, the identity service segfaults on nfc event processing. Fix segfault, update forgerock compilation unit to use binding V3 call methods and review the identity agent baseline to remove unused code / tidy up. Bug-AGL: SPEC-2158 Change-Id: Ic87e630e9d028ba22937468375631b8e908011f8 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> (cherry picked from commit 8f64868f9edd313eaee9a73abc3f79110da5f132)
2018-11-23binding: identity-agent: update binding to v3Raquel Medina1-70/+89
Bug-AGL: SPEC-1959 This change was motivated by a segmentation fault on the nfc service api, the nfc binding is v3 and updating the identity binding to this version too is part of the fix. The changes under this commit simply - update binding artifacts from v2 to v3 - use json_objects typedef (opaque objects) for clarity Change-Id: Iab6f53794f915d13d9cb3e198e2c3d24c13f879d Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-10-18binding: identity: update event processing for nfc binding dataMatt Ranostay1-12/+8
Switch from old NFC binding event data to new format in the binding rewrite. Change-Id: Ie7669f2a3e8005c10e680b2d4f821fc96d4a421d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-18binding: identity: remove useless NULL definitionMatt Ranostay1-4/+0
Pretty sure NULL doesn't need to be defined for any modern compiler in the last 20 years. Change-Id: I0f5aa4c31316a026b7fdefdbd767f92938ebbd78 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-11removed unused files and useless subdirectoriesLoïc Collignon1-0/+333
Change-Id: Ie0ebe0104589ff99ae24c7410a484eeef18821e7 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>