We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5491f2 commit 2d1ad06Copy full SHA for 2d1ad06
Dan.Core/Services/ServiceContextService.cs
@@ -207,6 +207,22 @@ public async Task<List<ServiceContext>> GetRegisteredServiceContexts()
207
}
208
209
},
210
+ new ServiceContext()
211
+ {
212
+ Name = "eDueDiligence",
213
+ Id = "duediligence-product",
214
+ ValidLanguages = new List<string>() {Constants.LANGUAGE_CODE_NORWEGIAN_NB },
215
+ AuthorizationRequirements = new List<Requirement>() {
216
+ new MaskinportenScopeRequirement()
217
218
+ RequiredScopes = new List<string>() { "altinn:dataaltinnno/duediligence" }
219
+ },
220
+ new AccreditationPartyRequirement()
221
222
+ PartyRequirements = new List<AccreditationPartyRequirementType>() { AccreditationPartyRequirementType.RequestorAndOwnerAreEqual }
223
+ }
224
225
226
};
227
228
return await Task.FromResult(serviceContexts);
0 commit comments