Documentation ¶
Index ¶
- func ApiKeyHandler(ctx *app.AppContext) http.Handler
- func ApiKeyRequired(ctx *app.AppContext, keyString string, w http.ResponseWriter, r *http.Request, ...)
- func AuthRequired(ctx *app.AppContext, next http.Handler) http.Handler
- func ChangePasswordHandler(ctx *app.AppContext) http.Handler
- func ConsentHandler(ctx *app.AppContext) http.Handler
- func ForgotPasswordHandler(ctx *app.AppContext) http.Handler
- func IndexHandler(ctx *app.AppContext) http.Handler
- func LoginHandler(ctx *app.AppContext) http.Handler
- func LoginRequired(ctx *app.AppContext, next http.Handler) http.Handler
- func LogoutHandler(ctx *app.AppContext) http.Handler
- func NewSSHPubKeyHandler(ctx *app.AppContext) http.Handler
- func OTPTokensHandler(ctx *app.AppContext) http.Handler
- func QRCode(otptoken *ipa.OTPToken) (string, error)
- func RateLimit(ctx *app.AppContext, next http.Handler) http.Handler
- func RemoveAllOTPTokens(uid, sid string) error
- func ResetPasswordHandler(ctx *app.AppContext) http.Handler
- func SSHPubKeyHandler(ctx *app.AppContext) http.Handler
- func SetupAccountHandler(ctx *app.AppContext) http.Handler
- func SetupQuestionHandler(ctx *app.AppContext) http.Handler
- func TwoFactorAuthHandler(ctx *app.AppContext) http.Handler
- func TwoFactorHandler(ctx *app.AppContext) http.Handler
- func UpdateSecurityQuestionHandler(ctx *app.AppContext) http.Handler
- func UserNameRequired(ctx *app.AppContext, next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiKeyHandler ¶ added in v0.0.6
func ApiKeyHandler(ctx *app.AppContext) http.Handler
func ApiKeyRequired ¶ added in v0.0.6
func ApiKeyRequired(ctx *app.AppContext, keyString string, w http.ResponseWriter, r *http.Request, next http.Handler)
func AuthRequired ¶
AuthRequired ensures the user has successfully completed the authentication process including any 2FA.
func ChangePasswordHandler ¶
func ChangePasswordHandler(ctx *app.AppContext) http.Handler
func ConsentHandler ¶ added in v0.0.6
func ConsentHandler(ctx *app.AppContext) http.Handler
func ForgotPasswordHandler ¶
func ForgotPasswordHandler(ctx *app.AppContext) http.Handler
func IndexHandler ¶
func IndexHandler(ctx *app.AppContext) http.Handler
func LoginHandler ¶
func LoginHandler(ctx *app.AppContext) http.Handler
func LoginRequired ¶
LoginRequired ensure the user has logged in and has a valid FreeIPA session. Stores the ipa.UserRecord in the request context
func LogoutHandler ¶
func LogoutHandler(ctx *app.AppContext) http.Handler
func NewSSHPubKeyHandler ¶
func NewSSHPubKeyHandler(ctx *app.AppContext) http.Handler
func OTPTokensHandler ¶
func OTPTokensHandler(ctx *app.AppContext) http.Handler
func RemoveAllOTPTokens ¶
func ResetPasswordHandler ¶
func ResetPasswordHandler(ctx *app.AppContext) http.Handler
func SSHPubKeyHandler ¶
func SSHPubKeyHandler(ctx *app.AppContext) http.Handler
func SetupAccountHandler ¶
func SetupAccountHandler(ctx *app.AppContext) http.Handler
func SetupQuestionHandler ¶
func SetupQuestionHandler(ctx *app.AppContext) http.Handler
func TwoFactorAuthHandler ¶
func TwoFactorAuthHandler(ctx *app.AppContext) http.Handler
func TwoFactorHandler ¶
func TwoFactorHandler(ctx *app.AppContext) http.Handler
func UpdateSecurityQuestionHandler ¶
func UpdateSecurityQuestionHandler(ctx *app.AppContext) http.Handler
func UserNameRequired ¶
UserNameRequired ensure the user has submitted a valid username.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.