package
8.4.4+incompatible
Repository: https://github.com/codehakase/iris.git
Documentation: pkg.go.dev
# Functions
Default accepts only the users and returns a new Handler which will ask the client for basic auth (username, password), validate that and if valid continues to the next handler, otherwise throws a StatusUnauthorized http error code.
DefaultConfig returns the default configs for the BasicAuth middleware.
New accepts basicauth.Config and returns a new Handler which will ask the client for basic auth (username, password), validate that and if valid continues to the next handler, otherwise throws a StatusUnauthorized http error code.
# Constants
DefaultBasicAuthRealm is "Authorization Required".
# Variables
0001-01-01 00:00:00 +0000 UTC.