Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPasskeyNotFound = errors.New("passkey not found") ErrInvalidPasskey = errors.New("invalid passkey") )
Functions ¶
This section is empty.
Types ¶
type CreatePasskey ¶
type CreatePasskey interface {
Exec(ctx context.Context, id uuid.UUID, now time.Time, request *CreatePasskeyRequest) (*entities.Passkey, error)
}
func NewCreatePasskey ¶
func NewCreatePasskey(database bun.IDB) CreatePasskey
type CreatePasskeyRequest ¶
type DeletePasskey ¶
type DeletePasskey interface {
Exec(ctx context.Context, request *DeletePasskeyRequest) (*entities.Passkey, error)
}
func NewDeletePasskey ¶
func NewDeletePasskey(database bun.IDB) DeletePasskey
type DeletePasskeyRequest ¶
type GetPasskey ¶
type GetPasskey interface {
Exec(ctx context.Context, request *GetPasskeyRequest) (*entities.Passkey, error)
}
func NewGetPasskey ¶
func NewGetPasskey(database bun.IDB) GetPasskey
type GetPasskeyRequest ¶
type UpdatePasskey ¶
type UpdatePasskey interface {
Exec(ctx context.Context, id uuid.UUID, now time.Time, request *UpdatePasskeyRequest) (*entities.Passkey, error)
}
func NewUpdatePasskey ¶
func NewUpdatePasskey(database bun.IDB) UpdatePasskey
Source Files ¶
Click to show internal directories.
Click to hide internal directories.