Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedEmail ¶ added in v0.1.13
type AuthProvider ¶
type Challenge ¶ added in v0.1.12
type Challenge struct {
ID uuid.UUID
CreatedAt time.Time
UpdatedAt time.Time
ExpiresAt time.Time
ConsumedAt *time.Time
Purpose ChallengePurpose
Email string
AttemptCount int
MaxAttempts int
ResendCount int
MaxResends int
LastSentAt *time.Time
}
func (Challenge) HasAttemptsRemaining ¶ added in v0.1.12
func (Challenge) IsConsumed ¶ added in v0.1.12
type ChallengePurpose ¶ added in v0.1.12
type ChallengePurpose string
const (
ChallengePurposeSignup ChallengePurpose = "signup"
)
type EmailJobStatus ¶ added in v0.1.12
type EmailJobStatus string
const ( EmailJobStatusPending EmailJobStatus = "pending" EmailJobStatusProcessing EmailJobStatus = "processing" EmailJobStatusSent EmailJobStatus = "sent" EmailJobStatusFailed EmailJobStatus = "failed" )
type EmailTemplate ¶ added in v0.1.12
type EmailTemplate string
const ( EmailTemplateSignupCode EmailTemplate = "signup_code" EmailTemplateLoginAlert EmailTemplate = "login_alert" )
type PendingSignupAction ¶ added in v0.1.12
type RefreshToken ¶
Click to show internal directories.
Click to hide internal directories.