Documentation ¶
Index ¶
- func InitializeAuthController(r *gin.Engine, authComponent auth.AuthComponent, ...)
- func InitializeCMSController(r *gin.Engine, authComponent auth.AuthComponent, ...)
- func InitializeEventsController(r *gin.Engine, middlewareComponent middleware.MiddlewareComponent, ...)
- func InitializePeopleManagementController(r *gin.Engine, middlewareComponent middleware.MiddlewareComponent, ...)
- type BasicProfile
- type ControllerConfig
- type GeneratePasswordCodeInput
- type LoginResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeAuthController ¶
func InitializeAuthController(r *gin.Engine, authComponent auth.AuthComponent, eventBusComponent bus.EventBusComponent, authOutputComponent output.AuthOutputComponent, middlewareComponent middleware.MiddlewareComponent, )
func InitializeCMSController ¶
func InitializeCMSController(r *gin.Engine, authComponent auth.AuthComponent, peopleComponent people.PeopleManagementComponent, middlewareComponent middleware.MiddlewareComponent, emailClient infra.EmailClient, )
BFF for IES Apps
func InitializeEventsController ¶
func InitializeEventsController( r *gin.Engine, middlewareComponent middleware.MiddlewareComponent, peopleComponent events.ChurchEventComponent, eventBusComponent bus.EventBusComponent, )
func InitializePeopleManagementController ¶
func InitializePeopleManagementController( r *gin.Engine, middlewareComponent middleware.MiddlewareComponent, peopleComponent people.PeopleManagementComponent, eventBusComponent bus.EventBusComponent, )
Types ¶
type BasicProfile ¶
type ControllerConfig ¶
type GeneratePasswordCodeInput ¶
type GeneratePasswordCodeInput struct {
EmailAddress string `json:"email"`
}
type LoginResult ¶
type LoginResult struct { AccessToken string `json:"token"` AuthData dto.AuthData `json:"auth_info"` Profile *BasicProfile `json:"profile"` }
Click to show internal directories.
Click to hide internal directories.