Documentation ¶
Overview ¶
Package contextservices The package provides functions to get and work with ror contexts
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRorContextFromGinContext ¶
GetRorContextFromGinContext Function creates ror context from gin context, identity is added to the context
func GetUserFromGinContext ¶
func GetUserFromGinContext(c *gin.Context) (*identitymodels.User, error)
GetUserFromGinContext Function extracts the user from the gin context
!!! Should only be used in audit middleware !!!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.