Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildMessage ¶
type BuildMessage struct {
ConfirmUrl string
}
type CustomMessageScenario ¶
type CustomMessageScenario struct { Templates *template.Template AuthenticationTokenRepository domain.AuthenticationTokenRepository AuthenticationTokensCreator domain.AuthenticationTokensCreator }
func (*CustomMessageScenario) BuildForgotPasswordMessage ¶
func ( s *CustomMessageScenario, ) BuildForgotPasswordMessage( p ForgotPasswordMessageBuildParams, ) (body string, string error)
func (*CustomMessageScenario) BuildSignupMessage ¶
func (s *CustomMessageScenario) BuildSignupMessage(p SignUpMessageBuildParams) (body string, string error)
type ForgotPasswordMessageBuildParams ¶
type ForgotPasswordMessageBuildParams struct {
Code string
}
type MockAuthenticationTokenRepository ¶
type MockAuthenticationTokenRepository struct { Token string CognitoSub string SubscribeNews bool ExpirationTime int64 }
func (*MockAuthenticationTokenRepository) Create ¶
func (r *MockAuthenticationTokenRepository) Create(item domain.AuthenticationTokens) error
func (*MockAuthenticationTokenRepository) FindByToken ¶
func (r *MockAuthenticationTokenRepository) FindByToken(token string) (*domain.AuthenticationTokens, error)
Click to show internal directories.
Click to hide internal directories.