opengovsg / sgid-client-python

The official Python client for sgID.
MIT License
3 stars 0 forks source link

feat: parse sgid userinfo data #42

Closed kwajiehao closed 1 year ago

kwajiehao commented 1 year ago

This PR adds a new method, parseData, which helps to parse the sgID userinfo object so that any stringified array or object values are parsed as objects. Previously, the parseData object only parsed individual values.

This PR is implemented according to the SDK implementation requirements as linked here: https://www.notion.so/opengov/SDK-implementation-requirements-1f9b7cbd2bd4406b85d6645fe3e365dd#dcabe67d14034525bfd5e84acc1c59c6

This PR also adds the necessary unit tests for the newly introduced utility functions that support parseData

kwajiehao commented 1 year ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.