signup

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleSignup

func HandleSignup(w http.ResponseWriter, r *http.Request)

HandleSignup handles user registration requests. @Summary User signup @Description Renders the signup page (GET) or processes a new user registration (POST). @Tags signup @Accept x-www-form-urlencoded @Produce html @Param username formData string false "Desired username" @Param password formData string false "Password" @Param confirm_password formData string false "Confirm password" @Param email formData string false "Email address" @Param redirect_uri formData string false "Redirect URI" @Param state formData string false "OAuth2 state" @Success 200 {string} string "Signup form (GET)" @Success 302 {string} string "Redirect back to client with code (POST)" @Router /oauth2/signup [get] @Router /oauth2/signup [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL