Versions in this module Expand all Collapse all v1 v1.0.11 Feb 19, 2021 Changes in this version + type Cache struct + Enabled bool + LifetimeSeconds int + type MSXRBAC struct + Cache *bigcache.BigCache + Cfg MSXRBACConfig + Client *http.Client + func NewMsxRbac(cfg MSXRBACConfig) *MSXRBAC + func (m *MSXRBAC) HasPermission(r *http.Request, perm string) (bool, User) + type MSXRBACConfig struct + Cache Cache + ClientID string + ClientSecret string + RbacURL string + TLS *tls.Config + func DefaultMsxRbacConfig() MSXRBACConfig + type User struct + Active bool + AssignedTenants []string + Permissions []string + TenantID string