Documentation
¶
Overview ¶
Package defaultstore implements the SQL-backed default store for the Aegis authentication module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultStore ¶
type DefaultStore struct {
// contains filtered or unexported fields
}
DefaultStore holds all default SQL-based store implementations. It provides a complete implementation of all storage interfaces using sqlc-generated database queries supporting PostgreSQL, MySQL, and SQLite.
func NewDefaultStore ¶
NewDefaultStore creates a new default store for the given dialect. The dialect switch happens exactly once here; all store methods call through the querier interface and are dialect-agnostic.
func (*DefaultStore) AccountStore ¶
func (s *DefaultStore) AccountStore() types.AccountStore
AccountStore returns the default account store implementation.
func (*DefaultStore) SessionStore ¶
func (s *DefaultStore) SessionStore() types.SessionStore
SessionStore returns the default session store implementation.
func (*DefaultStore) UserStore ¶
func (s *DefaultStore) UserStore() types.UserStore
UserStore returns the default user store implementation.
func (*DefaultStore) VerificationStore ¶
func (s *DefaultStore) VerificationStore() types.VerificationStore
VerificationStore returns the default verification store implementation.