Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCustomer ¶
func ValidateCustomer(next echo.HandlerFunc) echo.HandlerFunc
ValidateCustomer verifies if the request referring to the valid customer in the system
func ValidateUserInCustomer ¶
func ValidateUserInCustomer(next echo.HandlerFunc) echo.HandlerFunc
ValidateUserInCustomer checks if the user referring by UserID or Groups attributes in request headers belongs to the customer in the request context. If affirmative, it adds userId and groups attribute to request context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.