Skip to content

Commit

Permalink
Updated Oauth2Permissions example to support Microsoft Graph App Mani…
Browse files Browse the repository at this point in the history
…fest format (#260)
  • Loading branch information
v-gkuber authored Nov 26, 2024
1 parent d067047 commit 0c173d0
Showing 1 changed file with 1 addition and 45 deletions.
46 changes: 1 addition & 45 deletions samples/fhir-aad-b2c/oauth2Permissions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
"oauth2Permissions": [
"oauth2PermissionScopes": [
{
"adminConsentDescription": "Allows user to read all resources in a patient's compartment.",
"adminConsentDisplayName": "patient.all.read",
"id": "c71e9482-f052-461b-80e1-7cfeba7b2b12",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read all resources in a patient's compartment.",
"userConsentDisplayName": "patient.all.read",
Expand All @@ -17,8 +15,6 @@
"adminConsentDisplayName": "online_access",
"id": "8f4fe9ac-b7f2-43ca-a0ef-070f4a8ae5dc",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Grants permission for a refresh token to be used to obtain a new access token as long as the user is still online.",
"userConsentDisplayName": "online_access",
Expand All @@ -29,8 +25,6 @@
"adminConsentDisplayName": "patient.Medication.read",
"id": "058fa58e-ac09-4308-970e-2f2da3bf49b4",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "samples readAllows user to read Medication resources in a patient's compartment.",
"userConsentDisplayName": "patient.Medication.read",
Expand All @@ -41,8 +35,6 @@
"adminConsentDisplayName": "patient.AllergyIntolerance.read",
"id": "fa23e5cb-b06f-4d07-bcf8-f5ce114dd847",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read AllergyIntolerance resources in a patient's compartment.",
"userConsentDisplayName": "patient.AllergyIntolerance.read",
Expand All @@ -53,8 +45,6 @@
"adminConsentDisplayName": "patient.CarePlan.read",
"id": "4fcc09b8-fd6b-430f-9b2b-7bbd2c2b7e8f",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read CarePlan resources in a patient's compartment.",
"userConsentDisplayName": "patient.CarePlan.read",
Expand All @@ -65,8 +55,6 @@
"adminConsentDisplayName": "patient.CareTeam.read",
"id": "4860ad86-f40e-4e2b-8661-ba03ee154b19",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read CareTeam resources in a patient's compartment.",
"userConsentDisplayName": "patient.CareTeam.read",
Expand All @@ -77,8 +65,6 @@
"adminConsentDisplayName": "patient.Condition.read",
"id": "60fd617d-0d96-4c44-9cf3-ee91c0c45161",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Condition resources in a patient's compartment.",
"userConsentDisplayName": "patient.Condition.read",
Expand All @@ -89,8 +75,6 @@
"adminConsentDisplayName": "patient.Device.read",
"id": "f7b318b5-9bf5-46d0-8701-845c568925d9",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Device resources in a patient's compartment.",
"userConsentDisplayName": "patient.Device.read",
Expand All @@ -101,8 +85,6 @@
"adminConsentDisplayName": "patient.DiagnosticReport.read",
"id": "ef9475b2-f7da-4a86-b385-9fffe030c310",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read DiagnosticReport resources in a patient's compartment.",
"userConsentDisplayName": "patient.DiagnosticReport.read",
Expand All @@ -113,8 +95,6 @@
"adminConsentDisplayName": "patient.DocumentReference.read",
"id": "e2a5290a-59c6-4847-af7f-c5b16c692f24",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read DocumentReference resources in a patient's compartment.",
"userConsentDisplayName": "patient.DocumentReference.read",
Expand All @@ -125,8 +105,6 @@
"adminConsentDisplayName": "patient.Encounter.read",
"id": "9e7cdd6e-af8a-4e6d-9170-4274b35864bc",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Encounter resources in a patient's compartment.",
"userConsentDisplayName": "patient.Encounter.read",
Expand All @@ -137,8 +115,6 @@
"adminConsentDisplayName": "patient.Goal.read",
"id": "e6e32ed0-c9a2-4f1b-adb5-e3d59e47bb54",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Goal resources in a patient's compartment.",
"userConsentDisplayName": "patient.Goal.read",
Expand All @@ -149,8 +125,6 @@
"adminConsentDisplayName": "patient.Immunization.read",
"id": "f6c2728b-b49d-4d10-bb69-7798f1603807",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Immunization resources in a patient's compartment.",
"userConsentDisplayName": "patient.Immunization.read",
Expand All @@ -161,8 +135,6 @@
"adminConsentDisplayName": "patient.MedicationRequest.read",
"id": "16352d13-6c69-4eee-adbb-f7420b3f252b",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read MedicationRequest resources in a patient's compartment.",
"userConsentDisplayName": "patient.MedicationRequest.read",
Expand All @@ -173,8 +145,6 @@
"adminConsentDisplayName": "patient.Observation.read",
"id": "890da85b-b5ad-4981-8966-4b80fd75a5b8",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Observation resources in a patient's compartment.",
"userConsentDisplayName": "patient.Observation.read",
Expand All @@ -185,8 +155,6 @@
"adminConsentDisplayName": "patient.Organization.read",
"id": "81882045-ad54-4a5f-926c-a2a09d7dd2b5",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Organization resources in a patient's compartment.",
"userConsentDisplayName": "patient.Organization.read",
Expand All @@ -197,8 +165,6 @@
"adminConsentDisplayName": "patient.Patient.read",
"id": "d23f0b68-a2f5-4647-987b-b58fdd86b49d",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Patient resources in a patient's compartment.",
"userConsentDisplayName": "patient.Patient.read",
Expand All @@ -209,8 +175,6 @@
"adminConsentDisplayName": "patient.Practitioner.read",
"id": "ad27d725-86ff-4bc9-86fb-afdb2f007089",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Practitioner resources in a patient's compartment.",
"userConsentDisplayName": "patient.Practitioner.read",
Expand All @@ -221,8 +185,6 @@
"adminConsentDisplayName": "patient.Procedure.read",
"id": "be1c7593-9057-4947-a456-424dde696627",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Procedure resources in a patient's compartment.",
"userConsentDisplayName": "patient.Procedure.read",
Expand All @@ -233,8 +195,6 @@
"adminConsentDisplayName": "patient.Provenance.read",
"id": "d56c68f3-ec5f-4e12-82cc-afa8921337f0",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read Provenance resources in a patient's compartment.",
"userConsentDisplayName": "patient.Provenance.read",
Expand All @@ -245,8 +205,6 @@
"adminConsentDisplayName": "patient.PractitionerRole.read",
"id": "1d6a9f65-62f4-42b0-93d7-fc3437112f46",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows user to read PractitionerRole resources in a patient's compartment.",
"userConsentDisplayName": "patient.PractitionerRole.read",
Expand All @@ -257,8 +215,6 @@
"adminConsentDisplayName": "patient.Location.read",
"id": "6fbb6a2c-cd2f-486c-a421-b188f2184df8",
"isEnabled": true,
"lang": null,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allows a user to read Location resources in a patient's compartment.",
"userConsentDisplayName": "patient.Location.read",
Expand Down

0 comments on commit 0c173d0

Please sign in to comment.