1
0
mirror of https://github.com/greenpau/caddy-security.git synced 2025-04-18 08:04:02 +03:00

rename refs to aaafs to go-authcrunch

This commit is contained in:
Paul Greenberg 2022-01-22 18:55:28 -05:00
parent c084759bfd
commit d98f1beb23
32 changed files with 81 additions and 81 deletions

View File

@ -52,13 +52,13 @@ Second, fork the following repositories in Github into to your own Github
handle, e.g. `anonymous`:
* `https://github.com/greenpau/caddy-security` => `https://github.com/anonymous/caddy-security`
* `https://github.com/greenpau/aaasf` => `https://github.com/anonymous/aaasf`
* `https://github.com/greenpau/go-authcrunch` => `https://github.com/anonymous/go-authcrunch`
Provided you are in `tmpdev` directory, clone the forked repositories:
```bash
git clone git@github.com:anonymous/caddy-security.git
git clone git@github.com:anonymous/aaasf.git
git clone git@github.com:anonymous/go-authcrunch.git
```
Next, browse to `caddy-security` and run the following `make` command to install
@ -81,10 +81,10 @@ module github.com/greenpau/caddy-security
go 1.16
require (
github.com/greenpau/aaasf v1.0.4
github.com/greenpau/go-authcrunch v1.0.5
)
replace github.com/greenpau/aaasf v1.0.4 => /home/greenpau/dev/go/src/github.com/greenpau/aaasf
replace github.com/greenpau/go-authcrunch v1.0.5 => /home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
```
Then, modify `Makefile` such that that replacement passes to `xcaddy` builder:
@ -93,7 +93,7 @@ Then, modify `Makefile` such that that replacement passes to `xcaddy` builder:
@mkdir -p ../xcaddy-$(PLUGIN_NAME) && cd ../xcaddy-$(PLUGIN_NAME) && \
xcaddy build $(CADDY_VERSION) --output ../$(PLUGIN_NAME)/bin/caddy \
--with github.com/greenpau/caddy-security@$(LATEST_GIT_COMMIT)=$(BUILD_DIR) \
--with github.com/greenpau/aaasf@v1.0.4=/home/greenpau/dev/go/src/github.com/greenpau/aaasf
--with github.com/greenpau/go-authcrunch@v1.0.5=/home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
```
Once all the necessary packages are installed, you should be ready to compile

View File

@ -16,7 +16,7 @@ all: info
@mkdir -p ../xcaddy-$(PLUGIN_NAME) && cd ../xcaddy-$(PLUGIN_NAME) && \
xcaddy build $(CADDY_VERSION) --output ../$(PLUGIN_NAME)/bin/caddy \
--with github.com/greenpau/caddy-security@$(LATEST_GIT_COMMIT)=$(BUILD_DIR)
@#--with github.com/greenpau/aaasf@v1.0.4=/home/greenpau/dev/go/src/github.com/greenpau/aaasf
@#--with github.com/greenpau/go-authcrunch@v1.0.5=/home/greenpau/dev/go/src/github.com/greenpau/go-authcrunch
@#bin/caddy run -config assets/config/Caddyfile
@for f in `find ./assets -type f -name 'Caddyfile'`; do bin/caddy fmt -overwrite $$f; done

View File

@ -63,7 +63,7 @@ and serves authentication portal with `authenticate` keyword.
The app and plugin use Authentication, Authorization, and
Accounting (AAA) Security Functions (SF) from
[github.com/greenpau/aaasf](https://github.com/greenpau/aaasf).
[github.com/greenpau/authcrunch](https://github.com/greenpau/go-authcrunch).
## Getting Started

11
app.go
View File

@ -16,9 +16,9 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/greenpau/aaasf"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/aaasf/pkg/authz"
"github.com/greenpau/go-authcrunch"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authz"
"go.uber.org/zap"
)
@ -37,9 +37,8 @@ func init() {
// App implements security manager.
type App struct {
Name string `json:"-"`
Config *aaasf.Config `json:"config,omitempty"`
// server *aaasf.Server
Name string `json:"-"`
Config *authcrunch.Config `json:"config,omitempty"`
logger *zap.Logger
portals []*authn.Portal
gatekeepers []*authz.Gatekeeper

View File

@ -21,7 +21,7 @@ import (
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
// "github.com/caddyserver/caddy/v2/modules/caddyhttp"
"github.com/greenpau/aaasf"
"github.com/greenpau/go-authcrunch"
// "strconv"
// "strings"
)
@ -43,7 +43,7 @@ func init() {
func parseCaddyfile(d *caddyfile.Dispenser, _ interface{}) (interface{}, error) {
repl := caddy.NewReplacer()
app := new(App)
app.Config = aaasf.NewConfig()
app.Config = authcrunch.NewConfig()
if !d.Next() {
return nil, d.ArgErr()

View File

@ -17,14 +17,14 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/aaasf/pkg/authn/cookie"
"github.com/greenpau/aaasf/pkg/authn/registration"
"github.com/greenpau/aaasf/pkg/authn/ui"
"github.com/greenpau/aaasf/pkg/authz/options"
"github.com/greenpau/aaasf/pkg/errors"
"github.com/greenpau/caddy-security/pkg/util"
"github.com/greenpau/go-authcrunch"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authn/cookie"
"github.com/greenpau/go-authcrunch/pkg/authn/registration"
"github.com/greenpau/go-authcrunch/pkg/authn/ui"
"github.com/greenpau/go-authcrunch/pkg/authz/options"
"github.com/greenpau/go-authcrunch/pkg/errors"
"strings"
)
@ -104,7 +104,7 @@ const (
// validate source address
// }
//
func parseCaddyfileAuthentication(d *caddyfile.Dispenser, repl *caddy.Replacer, cfg *aaasf.Config) error {
func parseCaddyfileAuthentication(d *caddyfile.Dispenser, repl *caddy.Replacer, cfg *authcrunch.Config) error {
// rootDirective is config key prefix.
var rootDirective string
args := util.FindReplaceAll(repl, d.RemainingArgs())

View File

@ -18,9 +18,9 @@ import (
"fmt"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/aaasf/pkg/authn/backends"
"github.com/greenpau/aaasf/pkg/errors"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authn/backends"
"github.com/greenpau/go-authcrunch/pkg/errors"
)
func parseCaddyfileAuthPortalBackendShortcuts(h *caddyfile.Dispenser, repl *caddy.Replacer, portal *authn.PortalConfig, ckp string, v []string) error {

View File

@ -17,8 +17,8 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/aaasf/pkg/authn/backends"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authn/backends"
"github.com/greenpau/caddy-security/pkg/util"
"strconv"
"strings"

View File

@ -17,8 +17,8 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authn"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/authn"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
"strconv"
"strings"
)

View File

@ -17,9 +17,9 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/aaasf/pkg/errors"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/errors"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
)
func parseCaddyfileAuthPortalCrypto(h *caddyfile.Dispenser, repl *caddy.Replacer, portal *authn.PortalConfig, rootDirective string, args []string) error {

View File

@ -17,7 +17,7 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authn"
"strings"
)

View File

@ -17,7 +17,7 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authn"
"strings"
)

View File

@ -21,7 +21,7 @@ import (
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/google/go-cmp/cmp"
"github.com/greenpau/aaasf/pkg/errors"
"github.com/greenpau/go-authcrunch/pkg/errors"
)
func TestParseCaddyfileAuthentication(t *testing.T) {

View File

@ -17,9 +17,9 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/aaasf/pkg/authn/transformer"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authn/transformer"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
"strings"
)

View File

@ -17,8 +17,8 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/aaasf/pkg/authn/ui"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authn/ui"
"io/ioutil"
"strings"
)

View File

@ -17,10 +17,10 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf"
"github.com/greenpau/aaasf/pkg/authz"
"github.com/greenpau/aaasf/pkg/errors"
"github.com/greenpau/caddy-security/pkg/util"
"github.com/greenpau/go-authcrunch"
"github.com/greenpau/go-authcrunch/pkg/authz"
"github.com/greenpau/go-authcrunch/pkg/errors"
)
const (
@ -34,7 +34,7 @@ const (
// authorization portal <name> {
// }
//
func parseCaddyfileAuthorization(d *caddyfile.Dispenser, repl *caddy.Replacer, cfg *aaasf.Config) error {
func parseCaddyfileAuthorization(d *caddyfile.Dispenser, repl *caddy.Replacer, cfg *authcrunch.Config) error {
var rootDirective string
args := util.FindReplaceAll(repl, d.RemainingArgs())
if len(args) != 2 {

View File

@ -17,9 +17,9 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/acl"
"github.com/greenpau/aaasf/pkg/authz"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/acl"
"github.com/greenpau/go-authcrunch/pkg/authz"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
"strings"
)

View File

@ -17,9 +17,9 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/acl"
"github.com/greenpau/aaasf/pkg/authz"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/acl"
"github.com/greenpau/go-authcrunch/pkg/authz"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
"strings"
)

View File

@ -17,9 +17,9 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authz"
"github.com/greenpau/aaasf/pkg/authz/bypass"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/authz"
"github.com/greenpau/go-authcrunch/pkg/authz/bypass"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
)
func parseCaddyfileAuthorizationBypass(h *caddyfile.Dispenser, repl *caddy.Replacer, p *authz.PolicyConfig, rootDirective string, args []string) error {

View File

@ -17,9 +17,9 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authz"
"github.com/greenpau/aaasf/pkg/errors"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/authz"
"github.com/greenpau/go-authcrunch/pkg/errors"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
)
func parseCaddyfileAuthorizationCrypto(h *caddyfile.Dispenser, repl *caddy.Replacer, policy *authz.PolicyConfig, rootDirective string, args []string) error {

View File

@ -17,9 +17,9 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authz"
"github.com/greenpau/aaasf/pkg/authz/injector"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/authz"
"github.com/greenpau/go-authcrunch/pkg/authz/injector"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
)
func parseCaddyfileAuthorizationHeaderInjection(h *caddyfile.Dispenser, repl *caddy.Replacer, p *authz.PolicyConfig, rootDirective string, args []string) error {

View File

@ -17,8 +17,8 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf/pkg/authz"
cfgutil "github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/authz"
cfgutil "github.com/greenpau/go-authcrunch/pkg/util/cfg"
"strconv"
"strings"
)

View File

@ -21,7 +21,7 @@ import (
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/google/go-cmp/cmp"
"github.com/greenpau/aaasf/pkg/errors"
"github.com/greenpau/go-authcrunch/pkg/errors"
)
func TestParseCaddyfileAuthorization(t *testing.T) {

View File

@ -17,10 +17,10 @@ package security
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/greenpau/aaasf"
"github.com/greenpau/aaasf/pkg/credentials"
"github.com/greenpau/aaasf/pkg/errors"
"github.com/greenpau/caddy-security/pkg/util"
"github.com/greenpau/go-authcrunch"
"github.com/greenpau/go-authcrunch/pkg/credentials"
"github.com/greenpau/go-authcrunch/pkg/errors"
)
const (
@ -38,7 +38,7 @@ const (
// password <password>
// }
//
func parseCaddyfileCredentials(d *caddyfile.Dispenser, repl *caddy.Replacer, cfg *aaasf.Config) error {
func parseCaddyfileCredentials(d *caddyfile.Dispenser, repl *caddy.Replacer, cfg *authcrunch.Config) error {
args := util.FindReplaceAll(repl, d.RemainingArgs())
if len(args) != 2 {
return d.ArgErr()

View File

@ -21,7 +21,7 @@ import (
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/google/go-cmp/cmp"
"github.com/greenpau/aaasf/pkg/errors"
"github.com/greenpau/go-authcrunch/pkg/errors"
)
func TestParseCaddyfileCredentials(t *testing.T) {

View File

@ -20,7 +20,7 @@ import (
"github.com/caddyserver/caddy/v2/caddyconfig"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/caddy-security/pkg/util"
)

View File

@ -20,7 +20,7 @@ import (
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
"github.com/caddyserver/caddy/v2/modules/caddyhttp/caddyauth"
"github.com/greenpau/aaasf/pkg/authz"
"github.com/greenpau/go-authcrunch/pkg/authz"
"github.com/greenpau/caddy-security/pkg/util"
)

4
go.mod
View File

@ -4,8 +4,8 @@ go 1.16
require (
github.com/caddyserver/caddy/v2 v2.4.6
github.com/google/go-cmp v0.5.6
github.com/greenpau/aaasf v1.0.4
github.com/google/go-cmp v0.5.7
github.com/greenpau/go-authcrunch v1.0.5
github.com/satori/go.uuid v1.2.0
go.uber.org/zap v1.20.0
)

7
go.sum
View File

@ -410,8 +410,9 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=
github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
github.com/google/go-github/v28 v28.1.1/go.mod h1:bsqJWQX05omyWVmc00nEUql9mhQyv38lDZ8kPZcQVoM=
github.com/google/go-licenses v0.0.0-20210329231322-ce1d9163b77d/go.mod h1:+TYOmkVoJOpwnS0wfdsJCV9CoD5nJYsHoFk/0CrTK4M=
@ -470,8 +471,8 @@ github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2z
github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/greenpau/aaasf v1.0.4 h1:LssRPymmvdVq6H1VrQD6MRiJ7e6tJBNwL0VUru7lgvE=
github.com/greenpau/aaasf v1.0.4/go.mod h1:YnxGkpCMOdyxu8iq42HFbnw7tfY3jcXG/0liY5B1qfA=
github.com/greenpau/go-authcrunch v1.0.5 h1:vLnLPQZjUMVr+sz1xMTHAAoGIqpker6H/KeD4v41AQQ=
github.com/greenpau/go-authcrunch v1.0.5/go.mod h1:guuktZjZUnHdP5pZ7D164GtiqKF1s1rlL99GR107XJk=
github.com/greenpau/versioned v1.0.27 h1:aFJ16tzsUkbc6WT7DRia60S0VrgWzBNuul3h0RXFKxM=
github.com/greenpau/versioned v1.0.27/go.mod h1:rtFCvaWWNbMH4CJnje/xicgmrM63j++rUh5juSu0k/A=
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=

View File

@ -17,7 +17,7 @@ package util
import (
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
"github.com/greenpau/aaasf/pkg/util/cfg"
"github.com/greenpau/go-authcrunch/pkg/util/cfg"
"github.com/satori/go.uuid"
"net/http"
)

View File

@ -22,8 +22,8 @@ import (
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
"github.com/greenpau/aaasf/pkg/authn"
"github.com/greenpau/aaasf/pkg/requests"
"github.com/greenpau/go-authcrunch/pkg/authn"
"github.com/greenpau/go-authcrunch/pkg/requests"
"github.com/greenpau/caddy-security/pkg/util"
)

View File

@ -22,9 +22,9 @@ import (
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/caddyserver/caddy/v2/modules/caddyhttp/caddyauth"
"github.com/greenpau/aaasf/pkg/authz"
"github.com/greenpau/aaasf/pkg/errors"
"github.com/greenpau/aaasf/pkg/requests"
"github.com/greenpau/go-authcrunch/pkg/authz"
"github.com/greenpau/go-authcrunch/pkg/errors"
"github.com/greenpau/go-authcrunch/pkg/requests"
"github.com/greenpau/caddy-security/pkg/util"
)