Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct { Handler http.Handler Ecca *eccentric.Authentication // details where the register-service is located. Template string // template to be shown when user is not logged in. }
dual.AuthHandler accepts both Eccentric Authenticated Client certificates as well as email address and password accounts. It uses session cookies to tell the accountName to the downstream Handelrs.
func (*AuthHandler) ServeHTTP ¶
func (ah *AuthHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.