mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-18 22:34:58 +00:00
feat(lib/challenge/wasm): server side validation logic
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -58,7 +58,7 @@ type ValidateInput struct {
|
||||
|
||||
type Impl interface {
|
||||
// Setup registers any additional routes with the Impl for assets or API routes.
|
||||
Setup(mux *http.ServeMux)
|
||||
Setup(mux *http.ServeMux) error
|
||||
|
||||
// Issue a new challenge to the user, called by the Anubis.
|
||||
Issue(w http.ResponseWriter, r *http.Request, lg *slog.Logger, in *IssueInput) (templ.Component, error)
|
||||
|
||||
Reference in New Issue
Block a user