profile

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	profile.UnimplementedProfileServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(
	store storeInterface,
	auth authInterface,
	email emailInterface,
	bankAccount bank_account.BankAccountClient,
) *Server

func (*Server) GetPassport

func (srv *Server) GetPassport(ctx context.Context, _ *emptypb.Empty) (*profile.Passport, error)

func (*Server) SetAuthenticationCode

func (srv *Server) SetAuthenticationCode(ctx context.Context, req *profile.SetAuthenticationCodeRequest) (*emptypb.Empty, error)

func (*Server) SignIn

func (srv *Server) SignIn(ctx context.Context, req *profile.SignInRequest) (*emptypb.Empty, error)

func (*Server) SignUp

func (*Server) SubmitCode

Jump to

Keyboard shortcuts

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