v1

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

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)

type SAMLLoginInfo

type SAMLLoginInfo struct {
	Username   string
	Tokens     string
	InstanceID string
	Role       string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL