Documentation ¶
Index ¶
- type LoginCodeValid
- func (t *LoginCodeValid) EmailBody(ctx context.Context) (string, error)
- func (t *LoginCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *LoginCodeValid) EmailRecipient() (string, error)
- func (t *LoginCodeValid) EmailSubject(ctx context.Context) (string, error)
- func (t *LoginCodeValid) MarshalJSON() ([]byte, error)
- func (t *LoginCodeValid) TemplateType() template.TemplateType
- type LoginCodeValidModel
- type RecoveryCodeInvalid
- func (t *RecoveryCodeInvalid) EmailBody(ctx context.Context) (string, error)
- func (t *RecoveryCodeInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *RecoveryCodeInvalid) EmailRecipient() (string, error)
- func (t *RecoveryCodeInvalid) EmailSubject(ctx context.Context) (string, error)
- func (t *RecoveryCodeInvalid) MarshalJSON() ([]byte, error)
- func (t *RecoveryCodeInvalid) TemplateType() template.TemplateType
- type RecoveryCodeInvalidModel
- type RecoveryCodeValid
- func (t *RecoveryCodeValid) EmailBody(ctx context.Context) (string, error)
- func (t *RecoveryCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *RecoveryCodeValid) EmailRecipient() (string, error)
- func (t *RecoveryCodeValid) EmailSubject(ctx context.Context) (string, error)
- func (t *RecoveryCodeValid) MarshalJSON() ([]byte, error)
- func (t *RecoveryCodeValid) TemplateType() template.TemplateType
- type RecoveryCodeValidModel
- type RecoveryInvalid
- func (t *RecoveryInvalid) EmailBody(ctx context.Context) (string, error)
- func (t *RecoveryInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *RecoveryInvalid) EmailRecipient() (string, error)
- func (t *RecoveryInvalid) EmailSubject(ctx context.Context) (string, error)
- func (t *RecoveryInvalid) MarshalJSON() ([]byte, error)
- func (t *RecoveryInvalid) TemplateType() template.TemplateType
- type RecoveryInvalidModel
- type RecoveryValid
- func (t *RecoveryValid) EmailBody(ctx context.Context) (string, error)
- func (t *RecoveryValid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *RecoveryValid) EmailRecipient() (string, error)
- func (t *RecoveryValid) EmailSubject(ctx context.Context) (string, error)
- func (t *RecoveryValid) MarshalJSON() ([]byte, error)
- func (t *RecoveryValid) TemplateType() template.TemplateType
- type RecoveryValidModel
- type RegistrationCodeValid
- func (t *RegistrationCodeValid) EmailBody(ctx context.Context) (string, error)
- func (t *RegistrationCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *RegistrationCodeValid) EmailRecipient() (string, error)
- func (t *RegistrationCodeValid) EmailSubject(ctx context.Context) (string, error)
- func (t *RegistrationCodeValid) MarshalJSON() ([]byte, error)
- func (t *RegistrationCodeValid) TemplateType() template.TemplateType
- type RegistrationCodeValidModel
- type TestStub
- func (t *TestStub) EmailBody(ctx context.Context) (string, error)
- func (t *TestStub) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *TestStub) EmailRecipient() (string, error)
- func (t *TestStub) EmailSubject(ctx context.Context) (string, error)
- func (t *TestStub) MarshalJSON() ([]byte, error)
- func (t *TestStub) TemplateType() template.TemplateType
- type TestStubModel
- type VerificationCodeInvalid
- func (t *VerificationCodeInvalid) EmailBody(ctx context.Context) (string, error)
- func (t *VerificationCodeInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *VerificationCodeInvalid) EmailRecipient() (string, error)
- func (t *VerificationCodeInvalid) EmailSubject(ctx context.Context) (string, error)
- func (t *VerificationCodeInvalid) MarshalJSON() ([]byte, error)
- func (t *VerificationCodeInvalid) TemplateType() template.TemplateType
- type VerificationCodeInvalidModel
- type VerificationCodeValid
- func (t *VerificationCodeValid) EmailBody(ctx context.Context) (string, error)
- func (t *VerificationCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *VerificationCodeValid) EmailRecipient() (string, error)
- func (t *VerificationCodeValid) EmailSubject(ctx context.Context) (string, error)
- func (t *VerificationCodeValid) MarshalJSON() ([]byte, error)
- func (t *VerificationCodeValid) TemplateType() template.TemplateType
- type VerificationCodeValidModel
- type VerificationInvalid
- func (t *VerificationInvalid) EmailBody(ctx context.Context) (string, error)
- func (t *VerificationInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *VerificationInvalid) EmailRecipient() (string, error)
- func (t *VerificationInvalid) EmailSubject(ctx context.Context) (string, error)
- func (t *VerificationInvalid) MarshalJSON() ([]byte, error)
- func (t *VerificationInvalid) TemplateType() template.TemplateType
- type VerificationInvalidModel
- type VerificationValid
- func (t *VerificationValid) EmailBody(ctx context.Context) (string, error)
- func (t *VerificationValid) EmailBodyPlaintext(ctx context.Context) (string, error)
- func (t *VerificationValid) EmailRecipient() (string, error)
- func (t *VerificationValid) EmailSubject(ctx context.Context) (string, error)
- func (t *VerificationValid) MarshalJSON() ([]byte, error)
- func (t *VerificationValid) TemplateType() template.TemplateType
- type VerificationValidModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginCodeValid ¶ added in v1.1.0
type LoginCodeValid struct {
// contains filtered or unexported fields
}
func NewLoginCodeValid ¶ added in v1.1.0
func NewLoginCodeValid(d template.Dependencies, m *LoginCodeValidModel) *LoginCodeValid
func (*LoginCodeValid) EmailBody ¶ added in v1.1.0
func (t *LoginCodeValid) EmailBody(ctx context.Context) (string, error)
func (*LoginCodeValid) EmailBodyPlaintext ¶ added in v1.1.0
func (t *LoginCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*LoginCodeValid) EmailRecipient ¶ added in v1.1.0
func (t *LoginCodeValid) EmailRecipient() (string, error)
func (*LoginCodeValid) EmailSubject ¶ added in v1.1.0
func (t *LoginCodeValid) EmailSubject(ctx context.Context) (string, error)
func (*LoginCodeValid) MarshalJSON ¶ added in v1.1.0
func (t *LoginCodeValid) MarshalJSON() ([]byte, error)
func (*LoginCodeValid) TemplateType ¶ added in v1.1.0
func (t *LoginCodeValid) TemplateType() template.TemplateType
type LoginCodeValidModel ¶ added in v1.1.0
type RecoveryCodeInvalid ¶ added in v0.11.0
type RecoveryCodeInvalid struct {
// contains filtered or unexported fields
}
func NewRecoveryCodeInvalid ¶ added in v0.11.0
func NewRecoveryCodeInvalid(d template.Dependencies, m *RecoveryCodeInvalidModel) *RecoveryCodeInvalid
func (*RecoveryCodeInvalid) EmailBody ¶ added in v0.11.0
func (t *RecoveryCodeInvalid) EmailBody(ctx context.Context) (string, error)
func (*RecoveryCodeInvalid) EmailBodyPlaintext ¶ added in v0.11.0
func (t *RecoveryCodeInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*RecoveryCodeInvalid) EmailRecipient ¶ added in v0.11.0
func (t *RecoveryCodeInvalid) EmailRecipient() (string, error)
func (*RecoveryCodeInvalid) EmailSubject ¶ added in v0.11.0
func (t *RecoveryCodeInvalid) EmailSubject(ctx context.Context) (string, error)
func (*RecoveryCodeInvalid) MarshalJSON ¶ added in v0.11.0
func (t *RecoveryCodeInvalid) MarshalJSON() ([]byte, error)
func (*RecoveryCodeInvalid) TemplateType ¶ added in v1.1.0
func (t *RecoveryCodeInvalid) TemplateType() template.TemplateType
type RecoveryCodeInvalidModel ¶ added in v0.11.0
type RecoveryCodeValid ¶ added in v0.11.0
type RecoveryCodeValid struct {
// contains filtered or unexported fields
}
func NewRecoveryCodeValid ¶ added in v0.11.0
func NewRecoveryCodeValid(d template.Dependencies, m *RecoveryCodeValidModel) *RecoveryCodeValid
func (*RecoveryCodeValid) EmailBody ¶ added in v0.11.0
func (t *RecoveryCodeValid) EmailBody(ctx context.Context) (string, error)
func (*RecoveryCodeValid) EmailBodyPlaintext ¶ added in v0.11.0
func (t *RecoveryCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*RecoveryCodeValid) EmailRecipient ¶ added in v0.11.0
func (t *RecoveryCodeValid) EmailRecipient() (string, error)
func (*RecoveryCodeValid) EmailSubject ¶ added in v0.11.0
func (t *RecoveryCodeValid) EmailSubject(ctx context.Context) (string, error)
func (*RecoveryCodeValid) MarshalJSON ¶ added in v0.11.0
func (t *RecoveryCodeValid) MarshalJSON() ([]byte, error)
func (*RecoveryCodeValid) TemplateType ¶ added in v1.1.0
func (t *RecoveryCodeValid) TemplateType() template.TemplateType
type RecoveryCodeValidModel ¶ added in v0.11.0
type RecoveryInvalid ¶
type RecoveryInvalid struct {
// contains filtered or unexported fields
}
func NewRecoveryInvalid ¶
func NewRecoveryInvalid(d template.Dependencies, m *RecoveryInvalidModel) *RecoveryInvalid
func (*RecoveryInvalid) EmailBody ¶
func (t *RecoveryInvalid) EmailBody(ctx context.Context) (string, error)
func (*RecoveryInvalid) EmailBodyPlaintext ¶
func (t *RecoveryInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*RecoveryInvalid) EmailRecipient ¶
func (t *RecoveryInvalid) EmailRecipient() (string, error)
func (*RecoveryInvalid) EmailSubject ¶
func (t *RecoveryInvalid) EmailSubject(ctx context.Context) (string, error)
func (*RecoveryInvalid) MarshalJSON ¶
func (t *RecoveryInvalid) MarshalJSON() ([]byte, error)
func (*RecoveryInvalid) TemplateType ¶ added in v1.1.0
func (t *RecoveryInvalid) TemplateType() template.TemplateType
type RecoveryInvalidModel ¶
type RecoveryValid ¶
type RecoveryValid struct {
// contains filtered or unexported fields
}
func NewRecoveryValid ¶
func NewRecoveryValid(d template.Dependencies, m *RecoveryValidModel) *RecoveryValid
func (*RecoveryValid) EmailBody ¶
func (t *RecoveryValid) EmailBody(ctx context.Context) (string, error)
func (*RecoveryValid) EmailBodyPlaintext ¶
func (t *RecoveryValid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*RecoveryValid) EmailRecipient ¶
func (t *RecoveryValid) EmailRecipient() (string, error)
func (*RecoveryValid) EmailSubject ¶
func (t *RecoveryValid) EmailSubject(ctx context.Context) (string, error)
func (*RecoveryValid) MarshalJSON ¶
func (t *RecoveryValid) MarshalJSON() ([]byte, error)
func (*RecoveryValid) TemplateType ¶ added in v1.1.0
func (t *RecoveryValid) TemplateType() template.TemplateType
type RecoveryValidModel ¶
type RegistrationCodeValid ¶ added in v1.1.0
type RegistrationCodeValid struct {
// contains filtered or unexported fields
}
func NewRegistrationCodeValid ¶ added in v1.1.0
func NewRegistrationCodeValid(d template.Dependencies, m *RegistrationCodeValidModel) *RegistrationCodeValid
func (*RegistrationCodeValid) EmailBody ¶ added in v1.1.0
func (t *RegistrationCodeValid) EmailBody(ctx context.Context) (string, error)
func (*RegistrationCodeValid) EmailBodyPlaintext ¶ added in v1.1.0
func (t *RegistrationCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*RegistrationCodeValid) EmailRecipient ¶ added in v1.1.0
func (t *RegistrationCodeValid) EmailRecipient() (string, error)
func (*RegistrationCodeValid) EmailSubject ¶ added in v1.1.0
func (t *RegistrationCodeValid) EmailSubject(ctx context.Context) (string, error)
func (*RegistrationCodeValid) MarshalJSON ¶ added in v1.1.0
func (t *RegistrationCodeValid) MarshalJSON() ([]byte, error)
func (*RegistrationCodeValid) TemplateType ¶ added in v1.1.0
func (t *RegistrationCodeValid) TemplateType() template.TemplateType
type RegistrationCodeValidModel ¶ added in v1.1.0
type TestStub ¶
type TestStub struct {
// contains filtered or unexported fields
}
func NewTestStub ¶
func NewTestStub(d template.Dependencies, m *TestStubModel) *TestStub
func (*TestStub) EmailBodyPlaintext ¶
func (*TestStub) EmailRecipient ¶
func (*TestStub) EmailSubject ¶
func (*TestStub) MarshalJSON ¶
func (*TestStub) TemplateType ¶ added in v1.1.0
func (t *TestStub) TemplateType() template.TemplateType
type TestStubModel ¶
type VerificationCodeInvalid ¶ added in v0.11.0
type VerificationCodeInvalid struct {
// contains filtered or unexported fields
}
func NewVerificationCodeInvalid ¶ added in v0.11.0
func NewVerificationCodeInvalid(d template.Dependencies, m *VerificationCodeInvalidModel) *VerificationCodeInvalid
func (*VerificationCodeInvalid) EmailBody ¶ added in v0.11.0
func (t *VerificationCodeInvalid) EmailBody(ctx context.Context) (string, error)
func (*VerificationCodeInvalid) EmailBodyPlaintext ¶ added in v0.11.0
func (t *VerificationCodeInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*VerificationCodeInvalid) EmailRecipient ¶ added in v0.11.0
func (t *VerificationCodeInvalid) EmailRecipient() (string, error)
func (*VerificationCodeInvalid) EmailSubject ¶ added in v0.11.0
func (t *VerificationCodeInvalid) EmailSubject(ctx context.Context) (string, error)
func (*VerificationCodeInvalid) MarshalJSON ¶ added in v0.11.0
func (t *VerificationCodeInvalid) MarshalJSON() ([]byte, error)
func (*VerificationCodeInvalid) TemplateType ¶ added in v1.1.0
func (t *VerificationCodeInvalid) TemplateType() template.TemplateType
type VerificationCodeInvalidModel ¶ added in v0.11.0
type VerificationCodeValid ¶ added in v0.11.0
type VerificationCodeValid struct {
// contains filtered or unexported fields
}
func NewVerificationCodeValid ¶ added in v0.11.0
func NewVerificationCodeValid(d template.Dependencies, m *VerificationCodeValidModel) *VerificationCodeValid
func (*VerificationCodeValid) EmailBody ¶ added in v0.11.0
func (t *VerificationCodeValid) EmailBody(ctx context.Context) (string, error)
func (*VerificationCodeValid) EmailBodyPlaintext ¶ added in v0.11.0
func (t *VerificationCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*VerificationCodeValid) EmailRecipient ¶ added in v0.11.0
func (t *VerificationCodeValid) EmailRecipient() (string, error)
func (*VerificationCodeValid) EmailSubject ¶ added in v0.11.0
func (t *VerificationCodeValid) EmailSubject(ctx context.Context) (string, error)
func (*VerificationCodeValid) MarshalJSON ¶ added in v0.11.0
func (t *VerificationCodeValid) MarshalJSON() ([]byte, error)
func (*VerificationCodeValid) TemplateType ¶ added in v1.1.0
func (t *VerificationCodeValid) TemplateType() template.TemplateType
type VerificationCodeValidModel ¶ added in v0.11.0
type VerificationCodeValidModel struct { To string `json:"to"` VerificationURL string `json:"verification_url"` VerificationCode string `json:"verification_code"` Identity map[string]interface{} `json:"identity"` RequestURL string `json:"request_url"` TransientPayload map[string]interface{} `json:"transient_payload"` }
type VerificationInvalid ¶
type VerificationInvalid struct {
// contains filtered or unexported fields
}
func NewVerificationInvalid ¶
func NewVerificationInvalid(d template.Dependencies, m *VerificationInvalidModel) *VerificationInvalid
func (*VerificationInvalid) EmailBody ¶
func (t *VerificationInvalid) EmailBody(ctx context.Context) (string, error)
func (*VerificationInvalid) EmailBodyPlaintext ¶
func (t *VerificationInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*VerificationInvalid) EmailRecipient ¶
func (t *VerificationInvalid) EmailRecipient() (string, error)
func (*VerificationInvalid) EmailSubject ¶
func (t *VerificationInvalid) EmailSubject(ctx context.Context) (string, error)
func (*VerificationInvalid) MarshalJSON ¶
func (t *VerificationInvalid) MarshalJSON() ([]byte, error)
func (*VerificationInvalid) TemplateType ¶ added in v1.1.0
func (t *VerificationInvalid) TemplateType() template.TemplateType
type VerificationValid ¶
type VerificationValid struct {
// contains filtered or unexported fields
}
func NewVerificationValid ¶
func NewVerificationValid(d template.Dependencies, m *VerificationValidModel) *VerificationValid
func (*VerificationValid) EmailBody ¶
func (t *VerificationValid) EmailBody(ctx context.Context) (string, error)
func (*VerificationValid) EmailBodyPlaintext ¶
func (t *VerificationValid) EmailBodyPlaintext(ctx context.Context) (string, error)
func (*VerificationValid) EmailRecipient ¶
func (t *VerificationValid) EmailRecipient() (string, error)
func (*VerificationValid) EmailSubject ¶
func (t *VerificationValid) EmailSubject(ctx context.Context) (string, error)
func (*VerificationValid) MarshalJSON ¶
func (t *VerificationValid) MarshalJSON() ([]byte, error)
func (*VerificationValid) TemplateType ¶ added in v1.1.0
func (t *VerificationValid) TemplateType() template.TemplateType
Click to show internal directories.
Click to hide internal directories.