Documentation ¶
Index ¶
- type CreateUserInput
- type CreateVerificationInput
- type PasswordResetInput
- type PublishedController
- func (c *PublishedController) Data(ctx context.Context, name string) (io.Reader, error)
- func (c *PublishedController) Index(ctx context.Context, name string, url *url.URL) (string, error)
- func (c *PublishedController) Metadata(ctx context.Context, name string) (interfaces.ProjectPublishedMetadata, error)
- type SignupInput
- type SignupOutput
- type UserController
- func (c *UserController) CreateVerification(ctx context.Context, input CreateVerificationInput) error
- func (c *UserController) PasswordReset(ctx context.Context, input PasswordResetInput) error
- func (c *UserController) Signup(ctx context.Context, input SignupInput) (SignupOutput, error)
- func (c *UserController) StartPasswordReset(ctx context.Context, input PasswordResetInput) error
- func (c *UserController) VerifyUser(ctx context.Context, code string) (VerifyUserOutput, error)
- type VerifyUserOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserInput ¶
type CreateVerificationInput ¶ added in v0.6.0
type CreateVerificationInput struct {
Email string `json:"email"`
}
type PasswordResetInput ¶ added in v0.6.0
type PublishedController ¶
type PublishedController struct {
// contains filtered or unexported fields
}
func NewPublishedController ¶
func NewPublishedController(usecase interfaces.Published) *PublishedController
func (*PublishedController) Metadata ¶
func (c *PublishedController) Metadata(ctx context.Context, name string) (interfaces.ProjectPublishedMetadata, error)
type SignupInput ¶ added in v0.6.0
type SignupInput struct { Sub *string `json:"sub"` Secret *string `json:"secret"` UserID *id.UserID `json:"userId"` TeamID *id.TeamID `json:"teamId"` Name *string `json:"username"` Email *string `json:"email"` Password *string `json:"password"` Theme *user.Theme `json:"theme"` Lang *language.Tag `json:"lang"` }
type SignupOutput ¶ added in v0.6.0
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(usecase interfaces.User) *UserController
func (*UserController) CreateVerification ¶ added in v0.6.0
func (c *UserController) CreateVerification(ctx context.Context, input CreateVerificationInput) error
func (*UserController) PasswordReset ¶ added in v0.6.0
func (c *UserController) PasswordReset(ctx context.Context, input PasswordResetInput) error
func (*UserController) Signup ¶ added in v0.6.0
func (c *UserController) Signup(ctx context.Context, input SignupInput) (SignupOutput, error)
func (*UserController) StartPasswordReset ¶ added in v0.6.0
func (c *UserController) StartPasswordReset(ctx context.Context, input PasswordResetInput) error
func (*UserController) VerifyUser ¶ added in v0.6.0
func (c *UserController) VerifyUser(ctx context.Context, code string) (VerifyUserOutput, error)
type VerifyUserOutput ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.