Documentation
¶
Index ¶
- type AllowedEmail
- type AuthProvider
- type Challenge
- type ChallengePurpose
- type EmailJob
- type EmailJobStatus
- type EmailTemplate
- type PendingEmailChange
- type PendingPasswordReset
- type PendingProviderLink
- type PendingSignupAction
- type Provider
- type RefreshToken
- type Session
- type User
- type VerificationCode
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" ChallengePurposePasswordReset ChallengePurpose = "password_reset" ChallengePurposeEmailChange ChallengePurpose = "email_change" )
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" EmailTemplatePasswordResetCode EmailTemplate = "password_reset_code" EmailTemplateEmailChangeCode EmailTemplate = "email_change_code" )
type PendingEmailChange ¶ added in v0.1.15
type PendingPasswordReset ¶ added in v0.1.14
type PendingProviderLink ¶ added in v0.1.17
type PendingSignupAction ¶ added in v0.1.12
type RefreshToken ¶
Click to show internal directories.
Click to hide internal directories.