dashboardmodels

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIInterface

type APIInterface struct {
	DashboardGET *func(options APIOptions, userContext supertokens.UserContext) (string, error)
}

type APIOptions

type APIOptions struct {
	RecipeImplementation RecipeInterface
	AppInfo              supertokens.NormalisedAppinfo
	Config               TypeNormalisedInput
	RecipeID             string
	Req                  *http.Request
	Res                  http.ResponseWriter
	OtherHandler         http.HandlerFunc
}

type OverrideStruct

type OverrideStruct struct {
	Functions func(originalImplementation RecipeInterface) RecipeInterface
	APIs      func(originalImplementation APIInterface) APIInterface
}

type RecipeInterface

type RecipeInterface struct {
	GetDashboardBundleLocation *func(userContext supertokens.UserContext) (string, error)
	ShouldAllowAccess          *func(req *http.Request, config TypeNormalisedInput, userContext supertokens.UserContext) (bool, error)
}

type TypeInput

type TypeInput struct {
	ApiKey   string
	Override *OverrideStruct
}

type TypeNormalisedInput

type TypeNormalisedInput struct {
	ApiKey   string
	Override OverrideStruct
}

Jump to

Keyboard shortcuts

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