Documentation ¶
Index ¶
- type HttpEndpoints
- func (h *HttpEndpoints) AddAuthAPI(rg *gin.RouterGroup)
- func (h *HttpEndpoints) AddStudyAccessAPI(rg *gin.RouterGroup)
- func (h *HttpEndpoints) AddStudyEventsAPI(rg *gin.RouterGroup)
- func (h *HttpEndpoints) AddStudyManagementAPI(rg *gin.RouterGroup)
- func (h HttpEndpoints) InitSamlSP() (*samlsp.Middleware, error)
- func (h *HttpEndpoints) SM_deleteSubstudyInfo(c *gin.Context)
- func (h *HttpEndpoints) SM_getAllSubstudyInfos(c *gin.Context)
- func (h *HttpEndpoints) SM_saveSubstudyInfo(c *gin.Context)
- type SAMLLoginInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpEndpoints ¶
type HttpEndpoints struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func NewHTTPHandler( clients *clients.APIClients, researcherDB *db.ResearcherDBService, samlConfig *types.SAMLConfig, useDummyLogin bool, loginSuccessRedirectURL string, apiKeys []string, ) *HttpEndpoints
func (*HttpEndpoints) AddAuthAPI ¶
func (h *HttpEndpoints) AddAuthAPI(rg *gin.RouterGroup)
func (*HttpEndpoints) AddStudyAccessAPI ¶
func (h *HttpEndpoints) AddStudyAccessAPI(rg *gin.RouterGroup)
func (*HttpEndpoints) AddStudyEventsAPI ¶
func (h *HttpEndpoints) AddStudyEventsAPI(rg *gin.RouterGroup)
func (*HttpEndpoints) AddStudyManagementAPI ¶
func (h *HttpEndpoints) AddStudyManagementAPI(rg *gin.RouterGroup)
func (HttpEndpoints) InitSamlSP ¶
func (h HttpEndpoints) InitSamlSP() (*samlsp.Middleware, error)
func (*HttpEndpoints) SM_deleteSubstudyInfo ¶
func (h *HttpEndpoints) SM_deleteSubstudyInfo(c *gin.Context)
func (*HttpEndpoints) SM_getAllSubstudyInfos ¶
func (h *HttpEndpoints) SM_getAllSubstudyInfos(c *gin.Context)
func (*HttpEndpoints) SM_saveSubstudyInfo ¶
func (h *HttpEndpoints) SM_saveSubstudyInfo(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.