Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
UserID string `json:"user_id"` // unique identifier for this table
Provider types.AuthProvider `json:"provider"`
Token string `json:"token"` // ex HashedPassword, etc
Status types.Status `json:"status"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
func FromEntList ¶
FromEntList converts a list of ent Auths to domain Auths
type Repository ¶
type SessionClaims ¶ added in v1.0.49
type SessionClaims struct {
ExternalCustomerID string // Required: external ID from tenant system
CustomerID string // Required: internal Flexprice customer ID
TenantID string
EnvironmentID string
}
DashboardClaims represents the claims in a customer dashboard JWT token
Click to show internal directories.
Click to hide internal directories.