usermetadata

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Index

Constants

View Source
const RECIPE_ID = "usermetadata"

Variables

This section is empty.

Functions

func AfterEach

func AfterEach()

func BeforeEach

func BeforeEach()

func ClearUserMetadata

func ClearUserMetadata(userID string, userContext ...supertokens.UserContext) error

func GetUserMetadata

func GetUserMetadata(userID string, userContext ...supertokens.UserContext) (map[string]interface{}, error)

func UpdateUserMetadata

func UpdateUserMetadata(userID string, metadataUpdate map[string]interface{}, userContext ...supertokens.UserContext) (map[string]interface{}, error)

Types

type Recipe

func GetRecipeInstanceOrThrowError added in v0.9.1

func GetRecipeInstanceOrThrowError() (*Recipe, error)

func MakeRecipe

func MakeRecipe(recipeId string, appInfo supertokens.NormalisedAppinfo, config *usermetadatamodels.TypeInput, onSuperTokensAPIError func(err error, req *http.Request, res http.ResponseWriter)) (Recipe, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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