diff options
Diffstat (limited to 'internal/middlewares/types.go')
| -rw-r--r-- | internal/middlewares/types.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/middlewares/types.go b/internal/middlewares/types.go index f485e0c3f..0e2f172e8 100644 --- a/internal/middlewares/types.go +++ b/internal/middlewares/types.go @@ -7,6 +7,7 @@ import ( "github.com/authelia/authelia/v4/internal/authentication" "github.com/authelia/authelia/v4/internal/authorization" "github.com/authelia/authelia/v4/internal/configuration/schema" + "github.com/authelia/authelia/v4/internal/metrics" "github.com/authelia/authelia/v4/internal/notification" "github.com/authelia/authelia/v4/internal/ntp" "github.com/authelia/authelia/v4/internal/oidc" @@ -34,6 +35,7 @@ type Providers struct { SessionProvider *session.Provider Regulator *regulation.Regulator OpenIDConnect oidc.OpenIDConnectProvider + Metrics metrics.Provider NTP *ntp.Provider UserProvider authentication.UserProvider StorageProvider storage.Provider @@ -63,6 +65,9 @@ type BridgeBuilder struct { postMiddlewares []AutheliaMiddleware } +// Basic represents a middleware applied to a fasthttp.RequestHandler. +type Basic func(next fasthttp.RequestHandler) (handler fasthttp.RequestHandler) + // IdentityVerificationStartArgs represent the arguments used to customize the starting phase // of the identity verification process. type IdentityVerificationStartArgs struct { |
