application

package
v0.0.0-...-cf695c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2021 License: MIT Imports: 3 Imported by: 0

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 (*MockAuthenticationTokenRepository) FindByToken

type SignUpMessageBuildParams

type SignUpMessageBuildParams struct {
	Code          string
	SubscribeNews bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL