Documentation ¶
Overview ¶
nolint
Index ¶
- type ManagementProvider
- type Manager
- func (m *Manager) HashSecurityQuestions(i *identity.Identity, answers map[string]string) error
- func (m *Manager) SetSecurityAnswers(ctx context.Context, i *identity.Identity, answers map[string]string, ...) error
- func (m *Manager) SetSecurityFormFields(ctx context.Context, i *identity.Identity, prefix string, htmlf *form.HTMLForm) error
- type RecoverySecurityAnswer
- type RecoverySecurityAnswers
- type RecoverySecurityQuestion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagementProvider ¶
type ManagementProvider interface {
RecoveryManager() *Manager
}
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) HashSecurityQuestions ¶
func (*Manager) SetSecurityAnswers ¶
type RecoverySecurityAnswer ¶
type RecoverySecurityAnswer struct { // required: true ID uuid.UUID `json:"id" db:"id" faker:"-"` Key string `json:"key" db:"key"` Answer string `json:"answer" db:"answer"` // IdentityID is a helper struct field for gobuffalo.pop. IdentityID uuid.UUID `json:"-" faker:"-" db:"identity_id"` // CreatedAt is a helper struct field for gobuffalo.pop. CreatedAt time.Time `json:"-" faker:"-" db:"created_at"` // UpdatedAt is a helper struct field for gobuffalo.pop. UpdatedAt time.Time `json:"-" faker:"-" db:"updated_at"` }
type RecoverySecurityAnswers ¶
type RecoverySecurityAnswers []RecoverySecurityAnswer
func (RecoverySecurityAnswers) TableName ¶
func (a RecoverySecurityAnswers) TableName() string
Click to show internal directories.
Click to hide internal directories.