Documentation ¶
Index ¶
- type AuthHandler
- func (ah *AuthHandler) Check(id uint64, prefix string, path string, w http.ResponseWriter, r *http.Request) (identity *auth.Identity, tryNext bool)
- func (ah *AuthHandler) Enabled() bool
- func (ah *AuthHandler) Init(cfg *config.Listener) (err error)
- func (ah *AuthHandler) Score() int
- func (ah *AuthHandler) WWWAuthHeader() (name string, withRealm bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
AuthHandler --
func (*AuthHandler) Check ¶
func (ah *AuthHandler) Check(id uint64, prefix string, path string, w http.ResponseWriter, r *http.Request) (identity *auth.Identity, tryNext bool)
Check --
func (*AuthHandler) WWWAuthHeader ¶
func (ah *AuthHandler) WWWAuthHeader() (name string, withRealm bool)
WWWAuthHeader --
Click to show internal directories.
Click to hide internal directories.