Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(userRepo userDB.UserRepository, authorizationRepo authorizationDB.AuthorizationRepository) *authService
Types ¶
type AuthService ¶
type SessionData ¶
type SessionData struct { Username string `json:"username"` Permission rbac.PermissionMapping `json:"permission_code_mapping"` }
Click to show internal directories.
Click to hide internal directories.