handler

package
v0.0.0-...-129bed4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountIDContext = "X-Account-Id"
	SessionIDContext = "X-Session-Id"
	MachineIDContext = "X-Machine-Id"
)

--------------------- CONTEXTS ---------------------

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsServiceHandler

type AccountsServiceHandler struct {
	accounts_service.UnimplementedAccountsServiceV1Server
	// contains filtered or unexported fields
}

func NewAccountsServiceHandler

func NewAccountsServiceHandler(logger *logrus.Logger,
	accountsService service.AccountsService) *AccountsServiceHandler

func (*AccountsServiceHandler) ChangePassword

func (*AccountsServiceHandler) CreateAccount

func (*AccountsServiceHandler) DeleteAccount

func (h *AccountsServiceHandler) DeleteAccount(ctx context.Context,
	_ *emptypb.Empty) (res *emptypb.Empty, err error)

func (*AccountsServiceHandler) GetAccountID

func (h *AccountsServiceHandler) GetAccountID(ctx context.Context,
	_ *emptypb.Empty) (res *emptypb.Empty, err error)

func (*AccountsServiceHandler) GetAllSessions

func (*AccountsServiceHandler) Logout

func (h *AccountsServiceHandler) Logout(ctx context.Context,
	_ *emptypb.Empty) (_ *emptypb.Empty, err error)

func (*AccountsServiceHandler) RequestAccountVerificationToken

func (h *AccountsServiceHandler) RequestAccountVerificationToken(ctx context.Context,
	in *accounts_service.VerificationTokenRequest) (res *emptypb.Empty, err error)

func (*AccountsServiceHandler) RequestChangePasswordToken

func (h *AccountsServiceHandler) RequestChangePasswordToken(ctx context.Context,
	in *accounts_service.ChangePasswordTokenRequest) (res *emptypb.Empty, err error)

func (*AccountsServiceHandler) SignIn

func (*AccountsServiceHandler) TerminateSessions

func (*AccountsServiceHandler) VerifyAccount

Jump to

Keyboard shortcuts

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