Documentation ¶
Index ¶
- func NewRepository() repository.AuthenticationRepository
- type Repository
- func (r Repository) Get(ctx context.Context, tx transaction.Transaction, userID uuid.UUID) (model.UserAuthentication, error)
- func (r Repository) GetByBaasUserID(ctx context.Context, tx transaction.Transaction, baasUserID string) (model.UserAuthentication, error)
- func (r Repository) Save(ctx context.Context, tx transaction.Transaction, auth model.UserAuthentication) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository() repository.AuthenticationRepository
Types ¶
type Repository ¶
type Repository struct{}
func (Repository) Get ¶
func (r Repository) Get(ctx context.Context, tx transaction.Transaction, userID uuid.UUID) (model.UserAuthentication, error)
func (Repository) GetByBaasUserID ¶
func (r Repository) GetByBaasUserID(ctx context.Context, tx transaction.Transaction, baasUserID string) (model.UserAuthentication, error)
func (Repository) Save ¶
func (r Repository) Save(ctx context.Context, tx transaction.Transaction, auth model.UserAuthentication) error
Click to show internal directories.
Click to hide internal directories.