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 }
Click to show internal directories.
Click to hide internal directories.