Skip to content

Commit

Permalink
added scope req to metadata for visibility on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erlendoksvoll committed May 16, 2024
1 parent 5624589 commit 3ea872c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Altinn.Dan.Plugin.Banking/Metadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ public List<EvidenceCode> GetEvidenceCodes()
ValueType = EvidenceValueType.JsonSchema,
JsonSchemaDefintion = JsonSchema.FromType<List<EndpointExternal>>().ToJson(Formatting.None)
}
},
AuthorizationRequirements = new List<Requirement>()
{
new MaskinportenScopeRequirement()
{
RequiredScopes = new List<string>(){"altinn:dataaltinnno/kontrollinformasjon"}
}
}
}
};
Expand Down

0 comments on commit 3ea872c

Please sign in to comment.