controllers

package
v0.0.0-...-0bd9bcd Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackController

type CallbackController struct {
	beego.Controller
}

func (*CallbackController) AbortWithError

func (c *CallbackController) AbortWithError(status int, err error)

func (*CallbackController) Callback

func (c *CallbackController) Callback()

@router /callback [post]

type OuterController

type OuterController struct {
	beego.Controller
}

func (*OuterController) AbortWithError

func (c *OuterController) AbortWithError(status int, err error)

func (*OuterController) CancelDevice2FA

func (c *OuterController) CancelDevice2FA()

@router /users/2fa/:token [delete]

func (*OuterController) CheckUserInfoEmail

func (c *OuterController) CheckUserInfoEmail()

@router /users/info/email[post]

func (*OuterController) DeleteUser

func (c *OuterController) DeleteUser()

@router /users/remove [delete]

func (*OuterController) GetCallbackStatus

func (c *OuterController) GetCallbackStatus()

@router /order/status [post]

func (*OuterController) GetDevice2FA

func (c *OuterController) GetDevice2FA()

@router /users/2fa [get]

func (*OuterController) GetDevices

func (c *OuterController) GetDevices()

@router /devices [get]

func (*OuterController) GetUserInfo

func (c *OuterController) GetUserInfo()

@router /users/me [get]

func (*OuterController) PairDevice

func (c *OuterController) PairDevice()

@router /devices [post]

func (*OuterController) RegisterUser

func (c *OuterController) RegisterUser()

@router /users [post]

func (*OuterController) SendEmailOTP

func (c *OuterController) SendEmailOTP()

@router /users/emailotp [post]

func (*OuterController) SendPushToDevices

func (c *OuterController) SendPushToDevices()

@router /devices/2fa [post]

func (*OuterController) ServerHealthy

func (c *OuterController) ServerHealthy()

@router /healthy [get]

func (*OuterController) SetupPIN

func (c *OuterController) SetupPIN()

@router /users/pin [post]

func (*OuterController) UnpairDevices

func (c *OuterController) UnpairDevices()

@router /devices [delete]

func (*OuterController) UpdateUser

func (c *OuterController) UpdateUser()

@router /users/edit [post]

func (*OuterController) UserTotpVerify

func (c *OuterController) UserTotpVerify()

@router /users/totpverify [get]

func (*OuterController) VerifyEmailOTP

func (c *OuterController) VerifyEmailOTP()

@router /users/emailotp/verify [get]

func (*OuterController) VerifyUserOTP

func (c *OuterController) VerifyUserOTP()

@router /users/info/verify[get]

Jump to

Keyboard shortcuts

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