Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler( handler http.Handler, accessFactory AccessFactory, ) http.Handler
Types ¶
type Access ¶
type Access interface {
IsAuthenticated() bool
IsAuthorized(string) bool
IsAdmin() bool
IsSystem() bool
TeamNames() []string
CSRFToken() string
}
func GetAccessor ¶
type AccessFactory ¶
func NewAccessFactory ¶
func NewAccessFactory(key *rsa.PublicKey) AccessFactory
Click to show internal directories.
Click to hide internal directories.