usermetadatamodels

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIInterface

type APIInterface struct {
}

type OverrideStruct

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

type RecipeInterface

type RecipeInterface struct {
	GetUserMetadata    *func(userID string, userContext supertokens.UserContext) (map[string]interface{}, error)
	UpdateUserMetadata *func(userID string, metadataUpdate map[string]interface{}, userContext supertokens.UserContext) (map[string]interface{}, error)
	ClearUserMetadata  *func(userID string, userContext supertokens.UserContext) error
}

type TypeInput

type TypeInput struct {
	Override *OverrideStruct
}

type TypeNormalisedInput

type TypeNormalisedInput struct {
	Override OverrideStruct
}

Jump to

Keyboard shortcuts

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