Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VerificationServiceImpl ¶
type VerificationServiceImpl struct { Sender mails.Service //starter:inject("#") JWT jwt.Service //starter:inject("#") UUIDService random.UUIDService //starter:inject("#") SenderFromSMS string //starter:inject("${security.verification-code-sender.sms.from}") SenderFromMail string //starter:inject("${security.verification-code-sender.mail.from}") TokenMaxAgeInMS int64 //starter:inject("${security.verification-code-token.max-age.ms}") // contains filtered or unexported fields }
VerificationServiceImpl ...
func (*VerificationServiceImpl) Life ¶
func (inst *VerificationServiceImpl) Life() *application.Life
Life ...
func (*VerificationServiceImpl) SendCode ¶
func (inst *VerificationServiceImpl) SendCode(c context.Context, v *services.Verification) error
SendCode ...
func (*VerificationServiceImpl) Verify ¶
func (inst *VerificationServiceImpl) Verify(c context.Context, v *services.Verification) error
Verify ...
Click to show internal directories.
Click to hide internal directories.