File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
OpenAPI/LearningHub.Nhs.OpenApi/Controllers Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 77 using LearningHub . Nhs . Models . Hierarchy ;
88 using LearningHub . Nhs . Models . Validation ;
99 using LearningHub . Nhs . OpenApi . Services . Interface . Services ;
10-
10+ using Microsoft . AspNetCore . Authorization ;
1111 using Microsoft . AspNetCore . Mvc ;
1212 using Microsoft . Extensions . Logging ;
1313
1717 /// </summary>
1818 [ Route ( "Hierarchy" ) ]
1919 [ ApiController ]
20+ [ Authorize ]
2021 public class HierarchyController : OpenApiControllerBase
2122 {
2223 private readonly IHierarchyService hierarchyService ;
Original file line number Diff line number Diff line change 22{
33 using System . Threading . Tasks ;
44 using LearningHub . Nhs . OpenApi . Services . Interface . Services ;
5+ using Microsoft . AspNetCore . Authorization ;
56 using Microsoft . AspNetCore . Mvc ;
67
78 /// <summary>
89 /// Provider operations.
910 /// </summary>
11+ [ Authorize ]
1012 [ Route ( "Provider" ) ]
1113 [ ApiController ]
1214 public class ProviderController : OpenApiControllerBase
Original file line number Diff line number Diff line change 66 using LearningHub . Nhs . Models . User ;
77 using LearningHub . NHS . OpenAPI . Helpers ;
88 using LearningHub . Nhs . OpenApi . Services . Interface . Services ;
9+ using Microsoft . AspNetCore . Authorization ;
910 using Microsoft . AspNetCore . Mvc ;
1011 using Microsoft . Extensions . Logging ;
1112
1415 /// </summary>
1516 [ Route ( "User" ) ]
1617 [ ApiController ]
18+ [ Authorize ]
1719 public class UserController : OpenApiControllerBase
1820 {
1921 private readonly ISecurityService securityService ;
You can’t perform that action at this time.
0 commit comments