Documentation ¶
Index ¶
- Variables
- func ExpiresInToTime(expiresIn *time.Duration) *time.Time
- type CreatePasskey
- type CreatePasskeyRequest
- type CreatePasskeyResponse
- type DeletePasskey
- type DeletePasskeyRequest
- type DeletePasskeyResponse
- type GetPasskey
- type GetPasskeyRequest
- type GetPasskeyResponse
- type UpdatePasskey
- type UpdatePasskeyRequest
- type UpdatePasskeyResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidCreatePasskeyRequest = errors.New("invalid create passkey request") ErrCreatePasskey = errors.New("create passkey") )
View Source
var ( ErrInvalidDeletePasskeyRequest = errors.New("invalid delete passkey request") ErrDeletePasskey = errors.New("delete passkey") )
View Source
var ( ErrInvalidGetPasskeyRequest = errors.New("invalid get passkey request") ErrGetPasskey = errors.New("get passkey") )
View Source
var ( ErrInvalidUpdatePasskeyRequest = errors.New("invalid update passkey request") ErrUpdatePasskey = errors.New("update passkey") )
Functions ¶
Types ¶
type CreatePasskey ¶
type CreatePasskey interface {
Exec(ctx context.Context, data *CreatePasskeyRequest) (*CreatePasskeyResponse, error)
}
func NewCreatePasskey ¶
func NewCreatePasskey(dao dao.CreatePasskey) CreatePasskey
type CreatePasskeyRequest ¶
type CreatePasskeyResponse ¶
type DeletePasskey ¶
type DeletePasskey interface {
Exec(ctx context.Context, data *DeletePasskeyRequest) (*DeletePasskeyResponse, error)
}
func NewDeletePasskey ¶
func NewDeletePasskey(dao dao.DeletePasskey) DeletePasskey
type DeletePasskeyRequest ¶
type DeletePasskeyResponse ¶
type GetPasskey ¶
type GetPasskey interface {
Exec(ctx context.Context, data *GetPasskeyRequest) (*GetPasskeyResponse, error)
}
func NewGetPasskey ¶
func NewGetPasskey(dao dao.GetPasskey) GetPasskey
type GetPasskeyRequest ¶
type GetPasskeyResponse ¶
type UpdatePasskey ¶
type UpdatePasskey interface {
Exec(ctx context.Context, data *UpdatePasskeyRequest) (*UpdatePasskeyResponse, error)
}
func NewUpdatePasskey ¶
func NewUpdatePasskey(dao dao.UpdatePasskey) UpdatePasskey
type UpdatePasskeyRequest ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.