IRouteContext.cs 336 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Security.Claims;
  5. using System.Threading.Tasks;
  6. namespace JsonRPC4
  7. {
  8. public interface IRouteContext
  9. {
  10. IServiceProvider RequestServices
  11. {
  12. get;
  13. }
  14. ClaimsPrincipal User
  15. {
  16. get;
  17. }
  18. IRpcMethodProvider MethodProvider
  19. {
  20. get;
  21. }
  22. }
  23. }