Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServerAPI ¶
type ServerAPI struct { // Helps to test single endpoints, if others is not implemented yet sso.UnimplementedAuthServiceServer UseCases interfaces.UseCases }
func (*ServerAPI) Login ¶
func (api *ServerAPI) Login(ctx context.Context, request *sso.LoginRequest) (*sso.LoginResponse, error)
Login user handler for AuthServer.
func (*ServerAPI) Register ¶
func (api *ServerAPI) Register(ctx context.Context, request *sso.RegisterRequest) (*sso.RegisterResponse, error)
Register user handler for AuthServer.
Click to show internal directories.
Click to hide internal directories.