accesscontrol

package
v4.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlpAuthorizer

type AlpAuthorizer interface {
	ProcessUnauthorized(w http.ResponseWriter, r *http.Request) (defined bool, err error)
	ProcessAuthorized(roles []string, w http.ResponseWriter, r *http.Request) (defined bool, err error)
}

func NewBasicRoleAuthorizer

func NewBasicRoleAuthorizer(securityConfig roleBuilder2.SecurityConfig) AlpAuthorizer

Directories

Path Synopsis
builder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL