Documentation
¶
Index ¶
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 manages okta based authentication
func NewAuthHandler ¶
func NewAuthHandler(sessionKey []byte, clientID, clientSecret, issuer, redirectURI string, errorWriter func(w http.ResponseWriter, r *http.Request, err error, status int)) *AuthHandler
func (*AuthHandler) AuthCodeCallbackHandler ¶
func (h *AuthHandler) AuthCodeCallbackHandler(w http.ResponseWriter, r *http.Request)
func (*AuthHandler) Ensure ¶
func (h *AuthHandler) Ensure(next http.HandlerFunc) http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.