controller

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BanUserV1

func BanUserV1(c *gin.Context)

BanUserV1 - ban a user

func ConfirmForgotPasswordV1

func ConfirmForgotPasswordV1(c *gin.Context)

ConfirmForgotPasswordV1 - Submit a forgot password request

func CreateInviteV1

func CreateInviteV1(c *gin.Context)

CreateInviteV1 -- create new invites for new users

func CreateNewSessionV1 added in v0.1.26

func CreateNewSessionV1(c *gin.Context)

CreateNewSessionV1 - Create a new session

func CreateNewUserV1

func CreateNewUserV1(c *gin.Context)

CreateNewUserV1 - Create a new user

func GetInvitesV1

func GetInvitesV1(c *gin.Context)

GetInvitesV1 -- get a list of invites

func GetSessionV1

func GetSessionV1(c *gin.Context)

GetSessionV1 - validate a session token

func GetUserByUsernameV1

func GetUserByUsernameV1(c *gin.Context)

GetUserByUsernameV1 - Get a user by username

func GetUsersV1 added in v0.1.27

func GetUsersV1(c *gin.Context)

GetUsersV1 - Get a list of users

func RefreshSessionV1

func RefreshSessionV1(c *gin.Context)

RefreshSessionV1 - refresh a session token

func SubmitForgotPasswordV1

func SubmitForgotPasswordV1(c *gin.Context)

SubmitForgotPasswordV1 - Submit a forgot password request

func SubmitOTPV1

func SubmitOTPV1(c *gin.Context)

SubmitOTPV1 - Submit a new OTP

func UnbanUserV1

func UnbanUserV1(c *gin.Context)

UnbanUserV1 - ban a user

func UpdateUserV1

func UpdateUserV1(c *gin.Context)

UpdateUserV1 - Update a user

Types

This section is empty.

Jump to

Keyboard shortcuts

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