From 268fac5d945c943b3dcbda2622d090ee46b1aca3 Mon Sep 17 00:00:00 2001 From: Grzegorz Dobrowolski Date: Wed, 12 Apr 2017 11:40:26 +0100 Subject: [PATCH] PE-2792: Add enrolments to the example --- .../userinfo/views/definition.scala.txt | 6 ++++++ .../conf/1.0/examples/get-user-info-example-1.json | 14 +++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/app/uk/gov/hmrc/openidconnect/userinfo/views/definition.scala.txt b/app/uk/gov/hmrc/openidconnect/userinfo/views/definition.scala.txt index ec81633..76c2dd9 100644 --- a/app/uk/gov/hmrc/openidconnect/userinfo/views/definition.scala.txt +++ b/app/uk/gov/hmrc/openidconnect/userinfo/views/definition.scala.txt @@ -27,6 +27,12 @@ "name":"Access your tax identifiers", "description":"Access your tax identifiers", "confidenceLevel": 200 + }, + { + "key":"openid:hmrc_enrolments", + "name":"Access your enrolments", + "description":"Access your enrolments", + "confidenceLevel": 200 } ], "api":{ diff --git a/public/api/conf/1.0/examples/get-user-info-example-1.json b/public/api/conf/1.0/examples/get-user-info-example-1.json index 6a216cf..b1a7a19 100644 --- a/public/api/conf/1.0/examples/get-user-info-example-1.json +++ b/public/api/conf/1.0/examples/get-user-info-example-1.json @@ -8,5 +8,17 @@ "country" : "Great Britain" }, "birthdate" : "1950-01-01", - "uk_gov_nino" : "AA000003D" + "uk_gov_nino" : "AA000003D", + "hmrc_enrolments": [ + { + "key": "IR-SA", + "identifiers": [ + { + "key": "UTR", + "value": "174371121" + } + ], + "state": "Activated" + } + ] }