Skip to content

AuthenticatedController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/ActionFilters/JWTAuthenticateAttribute.cs (line 524)

Part of: Pams

Where it refuses work

  • AuthenticatedController stops the work with an early return when Request.Properties.TryGetValue("CurrentPersonUserID", out _userId).
  • AuthenticatedController stops the work with an early return when Request.Properties.TryGetValue("CompanyID", out _companyId).
  • AuthenticatedController stops the work with an early return when Request.Properties.TryGetValue("CompanyBranchID", out _branchId).
  • AuthenticatedController stops the work with an early return when Request.Properties.TryGetValue("SessionId", out _sessionId).
  • AuthenticatedController stops the work with an early return when Request.Properties.TryGetValue("Email", out _userEmail).
  • AuthenticatedController stops the work with an early return when Request.Properties.TryGetValue("IsMain", out _isMainUser).

Was this page helpful?

Download as PDF