Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Register(ctx context.Context, username, organization, password string) (string, errors.Api) Login(ctx context.Context, username, password string) (string, errors.Api) Authenticate(ctx context.Context, accessToken string) (*users.AuthedUser, errors.Api) }
func NewService ¶
func NewService(repo users.UserRepo, permissionInit initializing.Service) Service
Click to show internal directories.
Click to hide internal directories.