Moonlight-io / asteroid-sdk-js

5 stars 3 forks source link

ProfileComponent interface to support 'claims' property #39

Closed rockacola closed 4 years ago

rockacola commented 4 years ago

Per implementation of https://github.com/Moonlight-io/asteroid-domain-user/issues/372

The component item can now look something like:

{
  "attr_type":"email",
  "attr_id":"bHnfK0jyQk8Z610v",
  "payload":{
    "is_primary":0,
    "verified":0,
    "created_date":1581914354,
    "email":"travis+boron_b4@moonlight.io"
  },
  "claims":[
    {
      "claim_id":"s18nV2PNBvxO3rq6",
      "claim_state":"verified"
    }
  ]
}
rockacola commented 4 years ago

Already implemented