Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetDatasets = func(c *gin.Context) []string { datasets := c.GetStringSlice(datasetsKey) log.Debugf("returning %v from request context", datasets) return datasets }
GetDatasets extracts the dataset list from the request context
Functions ¶
func TokenMiddleware ¶
func TokenMiddleware() gin.HandlerFunc
TokenMiddleware performs access token verification and validation JWTs are verified and validated by the app, opaque tokens are sent to AAI for verification Successful auth results in list of authorised datasets
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.