auth

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: AGPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Activate

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

func ActivateForm

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

func CreatePersonalAccessToken added in v0.0.13

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

func DeleteAPIKey

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

func DeleteMe

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

func IssueEmailVerification

func IssueEmailVerification(ctx context.Context, usr *models.User) (uint64, error)

func Login

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

func LoginForm

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

func Logout

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

func PasswordForm

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

func PasswordReset

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

func PasswordResetForm

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

func PasswordResetRequest

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

func PasswordResetRequestForm

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

func Register

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

func RegisterForm

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

func RegisterFromInvitation

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

func RegisterFromInvitationForm

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

func RequestActivationCode

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

func SaveSettings

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

func SendVerificationEmail

func SendVerificationEmail(ctx context.Context, usr *models.User) error

func SetPassword

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

func UserSettings

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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