Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailMessage ¶
type EmailMessage struct {
ConfirmationURL string
}
EmailMessage holds our email struct
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service holds the user service struct
func NewUserService ¶
func NewUserService(msg *gcontext.MessageService, db *sqlx.DB, log *logging.Logger, jwt *jwt.AuthService, tokenizer *tokenizer.Tokenizer, mailer *mailer.Service, deeplinker *deeplinker.FireBaseClient, builder *builder.BuilderService) *Service
NewUserService instantiates user service
func (*Service) Login ¶
func (u *Service) Login(credentials *model.UserCredentials) (string, error)
Login return a jwt token if user is confirmed
Click to show internal directories.
Click to hide internal directories.