supertokens-web-js/recipe/multitenancy/types
References documentation for the supertokens-web-js/recipe/multitenancy/types package
Type Aliases
InputType
type InputType = AuthRecipeInputType<PreAndPostAPIHookAction> & UserInput;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts
NormalisedInputType
type NormalisedInputType = AuthRecipeNormalisedInputType<PreAndPostAPIHookAction> & object;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
override |
object |
tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts |
override.functions() |
(originalImplementation, builder) => RecipeInterface |
tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts |
PostAPIHookContext
type PostAPIHookContext = RecipePostAPIHookContext<PreAndPostAPIHookAction>;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts
PreAndPostAPIHookAction
type PreAndPostAPIHookAction = "GET_LOGIN_METHODS";
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts
PreAPIHookContext
type PreAPIHookContext = RecipePreAPIHookContext<PreAndPostAPIHookAction>;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts
RecipeInterface
type RecipeInterface = object;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
getLoginMethods |
(input) => Promise<{ fetchResponse: Response; firstFactors: string[]; status: "OK"; thirdParty: { providers: object[]; }; }> |
Gets enabled login methods and their configuration Throws STGeneralError if the API exposed by the backend SDKs returns status: "GENERAL_ERROR" |
tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts |
getTenantId |
(input) => Promise<string | undefined> | string | undefined |
- | tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts |
UserInput
type UserInput = object & RecipeModuleUserInput<PreAndPostAPIHookAction>;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
override? |
object |
tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts |
override.functions()? |
(originalImplementation, builder) => RecipeInterface |
tmp/supertokens-web-js/lib/ts/recipe/multitenancy/types.ts |