commands

package
v0.0.0-...-de0f673 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(
	router *mux.Router,
	mwares httpauth.MiddlewareChainMap,
	eventLog eventlog.Log,
	appState *state.AppState,
	logger *log.Logger,
) error

Types

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

func New

func New(state *state.AppState, logger *log.Logger) *Handlers

func (*Handlers) AccountAddExternalU2FToken

func (h *Handlers) AccountAddExternalU2FToken(a *apitypes.AccountAddExternalU2FToken, ctx *command.Ctx) error

func (*Handlers) AccountAddExternalYubicoOtpToken

func (h *Handlers) AccountAddExternalYubicoOtpToken(a *apitypes.AccountAddExternalYubicoOtpToken, ctx *command.Ctx) error

func (*Handlers) AccountAddKeylist

func (h *Handlers) AccountAddKeylist(a *apitypes.AccountAddKeylist, ctx *command.Ctx) error

func (*Handlers) AccountAddOtpToken

func (h *Handlers) AccountAddOtpToken(a *apitypes.AccountAddOtpToken, ctx *command.Ctx) error

func (*Handlers) AccountAddPassword

func (h *Handlers) AccountAddPassword(a *apitypes.AccountAddPassword, ctx *command.Ctx) error

func (*Handlers) AccountAddSecretNote

func (h *Handlers) AccountAddSecretNote(a *apitypes.AccountAddSecretNote, ctx *command.Ctx) error

func (*Handlers) AccountAddSshKey

func (h *Handlers) AccountAddSshKey(a *apitypes.AccountAddSshKey, ctx *command.Ctx) error

func (*Handlers) AccountChangeDescription

func (h *Handlers) AccountChangeDescription(a *apitypes.AccountChangeDescription, ctx *command.Ctx) error

func (*Handlers) AccountChangeEmail

func (h *Handlers) AccountChangeEmail(a *apitypes.AccountChangeEmail, ctx *command.Ctx) error

func (*Handlers) AccountChangeUrl

func (h *Handlers) AccountChangeUrl(a *apitypes.AccountChangeUrl, ctx *command.Ctx) error

func (*Handlers) AccountChangeUsername

func (h *Handlers) AccountChangeUsername(a *apitypes.AccountChangeUsername, ctx *command.Ctx) error

func (*Handlers) AccountCreate

func (h *Handlers) AccountCreate(a *apitypes.AccountCreate, ctx *command.Ctx) error

func (*Handlers) AccountCreateFolder

func (h *Handlers) AccountCreateFolder(a *apitypes.AccountCreateFolder, ctx *command.Ctx) error

func (*Handlers) AccountDelete

func (h *Handlers) AccountDelete(a *apitypes.AccountDelete, ctx *command.Ctx) error

func (*Handlers) AccountDeleteFolder

func (h *Handlers) AccountDeleteFolder(a *apitypes.AccountDeleteFolder, ctx *command.Ctx) error

func (*Handlers) AccountDeleteSecret

func (h *Handlers) AccountDeleteSecret(a *apitypes.AccountDeleteSecret, ctx *command.Ctx) error

func (*Handlers) AccountMove

func (h *Handlers) AccountMove(a *apitypes.AccountMove, ctx *command.Ctx) error

func (*Handlers) AccountMoveFolder

func (h *Handlers) AccountMoveFolder(a *apitypes.AccountMoveFolder, ctx *command.Ctx) error

func (*Handlers) AccountRename

func (h *Handlers) AccountRename(a *apitypes.AccountRename, ctx *command.Ctx) error

func (*Handlers) AccountRenameFolder

func (h *Handlers) AccountRenameFolder(a *apitypes.AccountRenameFolder, ctx *command.Ctx) error

func (*Handlers) DatabaseExportToKeepass

func (h *Handlers) DatabaseExportToKeepass(a *apitypes.DatabaseExportToKeepass, ctx *command.Ctx) error

func (*Handlers) SessionSignIn

func (h *Handlers) SessionSignIn(a *apitypes.SessionSignIn, ctx *command.Ctx) error

func (*Handlers) SessionSignOut

func (h *Handlers) SessionSignOut(a *apitypes.SessionSignOut, ctx *command.Ctx) error

func (*Handlers) UserAddAccessToken

func (h *Handlers) UserAddAccessToken(a *apitypes.UserAddAccessToken, ctx *command.Ctx) error

func (*Handlers) UserChangeDecryptionKeyPassword

func (h *Handlers) UserChangeDecryptionKeyPassword(a *apitypes.UserChangeDecryptionKeyPassword, ctx *command.Ctx) error

func (*Handlers) UserChangePassword

func (h *Handlers) UserChangePassword(a *apitypes.UserChangePassword, ctx *command.Ctx) error

func (*Handlers) UserCreate

func (h *Handlers) UserCreate(a *apitypes.UserCreate, ctx *command.Ctx) error

func (*Handlers) UserRegisterU2FToken

func (h *Handlers) UserRegisterU2FToken(a *apitypes.UserRegisterU2FToken, ctx *command.Ctx) error

func (*Handlers) UserUnlockDecryptionKey

func (h *Handlers) UserUnlockDecryptionKey(a *apitypes.UserUnlockDecryptionKey, ctx *command.Ctx) error

Jump to

Keyboard shortcuts

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