Versions in this module Expand all Collapse all v1 v1.0.12 Feb 25, 2021 Changes in this version + type Cache struct + Enabled bool + LifetimeSeconds int + type Config struct + Cache Cache + ClientID string + ClientSecret string + SsoURL string + TLS *tls.Config + func DefaultMsxSecurityConfig() Config + type MsxSecurity struct + Cache *bigcache.BigCache + Cfg Config + Client *http.Client + func NewMsxSecurity(cfg Config) *MsxSecurity + func (m *MsxSecurity) HasPermission(r *http.Request, perm string) (bool, User) + type User struct + Active bool + AssignedTenants []string + Permissions []string + TenantID string