SuperTokens React Types
Type Aliases
AllRecipeComponentOverrides
type AllRecipeComponentOverrides = object;
Defined in: types.ts:509
Properties
AllRecipeConfigs
type AllRecipeConfigs = object;
Defined in: types.ts:496
Properties
APIFormField
type APIFormField = object;
Defined in: types.ts:340
Properties
AppInfoUserInput
type AppInfoUserInput = object;
Defined in: types.ts:202
Properties
AuthComponent<T>
type AuthComponent<T> =
| PartialAuthComponent
| FullPageAuthComponent<T>;
Defined in: types.ts:491
Type Parameters
AuthComponentProps
type AuthComponentProps = object;
Defined in: types.ts:457
Properties
Awaited<T>
type Awaited<T> = T extends null | undefined ? T : T extends object & object ? F extends (value, ...args) => any ? V : never : T;
Defined in: types.ts:432
Type Parameters
BaseFeatureComponentMap
type BaseFeatureComponentMap = Record<string, ComponentWithRecipeAndMatchingMethod[]>;
Defined in: types.ts:299
ComponentWithRecipeAndMatchingMethod
type ComponentWithRecipeAndMatchingMethod = object;
Defined in: types.ts:280
Properties
CreateRecipeFunction()<T, S, R, N>
type CreateRecipeFunction<T, S, R, N> = (appInfo, enableDebugLogs) => BaseRecipeModule<T, S, R, N>;
Defined in: types.ts:197
Type Parameters
Parameters
Returns
BaseRecipeModule<T, S, R, N>
FeatureBaseConfig
type FeatureBaseConfig = object;
Defined in: types.ts:407
Properties
FeatureBaseProps<T>
type FeatureBaseProps<T> = PropsWithChildren<object & T>;
Defined in: types.ts:425
Type Parameters
FormField
type FormField = FormFieldBaseConfig & object;
Defined in: types.ts:328
Type Declaration
FormFieldBaseConfig
type FormFieldBaseConfig = object;
Defined in: types.ts:301
Properties
FullPageAuthComponent<PreloadInfoType>
type FullPageAuthComponent<PreloadInfoType> = object;
Defined in: types.ts:474
Type Parameters
Properties
FullPageAuthComponentProps<PreloadInfoType>
type FullPageAuthComponentProps<PreloadInfoType> = AuthComponentProps & object;
Defined in: types.ts:472
Type Declaration
Type Parameters
GetRedirectionURLContext
type GetRedirectionURLContext = NormalisedGetRedirectionURLContext<
| {
action: "TO_AUTH";
showSignIn?: boolean;
}
| SuccessRedirectContextInApp>;
Defined in: types.ts:72
Navigate
type Navigate =
| {
goBack: () => void;
push: (path) => void;
}
| NavigateFunction;
Defined in: types.ts:448
NonPublicConfigPropertiesType
type NonPublicConfigPropertiesType = typeof nonPublicConfigProperties[number];
Defined in: types.ts:566
NormalisedAppInfo
type NormalisedAppInfo = object;
Defined in: types.ts:248
Properties
NormalisedBaseConfig
type NormalisedBaseConfig = object;
Defined in: types.ts:414
Properties
NormalisedConfigWithAppInfoAndRecipeID<NormalisedConfig>
type NormalisedConfigWithAppInfoAndRecipeID<NormalisedConfig> = NormalisedConfig & object;
Defined in: types.ts:243
Type Declaration
Type Parameters
NormalisedFormField
type NormalisedFormField = object;
Defined in: types.ts:352
Properties
NormalisedGetRedirectionURLContext<RecipeContext>
type NormalisedGetRedirectionURLContext<RecipeContext> = RecipeContext & object;
Defined in: types.ts:492
Type Declaration
Type Parameters
PartialAuthComponent
type PartialAuthComponent = object;
Defined in: types.ts:484
Properties
PartialAuthComponentProps
type PartialAuthComponentProps = AuthComponentProps;
Defined in: types.ts:471
PluginRouteHandler
type PluginRouteHandler = object;
Defined in: types.ts:529
Properties
ReactComponentClass<P>
type ReactComponentClass<P> = ComponentClass<P, any> | (props) => JSX.Element;
Defined in: types.ts:401
Type Parameters
RecipeFeatureComponentMap
type RecipeFeatureComponentMap = Record<string, ComponentWithRecipeAndMatchingMethod>;
Defined in: types.ts:297
RecipeInitResult<T, Action, R, P>
type RecipeInitResult<T, Action, R, P> = object;
Defined in: types.ts:237
Type Parameters
Properties
RecipePluginOverride<T>
type RecipePluginOverride<T> = object;
Defined in: types.ts:523
Type Parameters
Properties
SessionClaimValidator
type SessionClaimValidator = SuperTokensWrapper & object;
Defined in: types.ts:90
Type Declaration
SuccessRedirectContext
type SuccessRedirectContext =
| SuccessRedirectContextInApp
| SuccessRedirectContextOAuth2;
Defined in: types.ts:70
SuccessRedirectContextInApp
type SuccessRedirectContextInApp = SuccessRedirectContextCommon & object;
Defined in: types.ts:64
Type Declaration
SuccessRedirectContextOAuth2
type SuccessRedirectContextOAuth2 = SuccessRedirectContextCommon & object;
Defined in: types.ts:65
Type Declaration
SuperTokensConfig
type SuperTokensConfig = object;
Defined in: types.ts:99
Properties
SuperTokensConfigWithNormalisedAppInfo
type SuperTokensConfigWithNormalisedAppInfo = Omit<SuperTokensConfig, "appInfo"> & object;
Defined in: types.ts:568
Type Declaration
SuperTokensPlugin
type SuperTokensPlugin = object;
Defined in: types.ts:535
Properties
SuperTokensPublicConfig
type SuperTokensPublicConfig = Omit<Omit<SuperTokensConfig, NonPublicConfigPropertiesType>, "appInfo"> & object;
Defined in: types.ts:576
Type Declaration
SuperTokensPublicPlugin
type SuperTokensPublicPlugin = Pick<SuperTokensPlugin,
| "id"
| "version"
| "exports"
| "compatibleAuthReactSDKVersions"
| "compatibleWebJSSDKVersions"> & object;
Defined in: types.ts:571
Type Declaration
ThemeBaseProps
type ThemeBaseProps = object;
Defined in: types.ts:421
Properties
UserContext
type UserContext = Record<string, any>;
Defined in: types.ts:455
ValidationFailureCallback
type ValidationFailureCallback =
| ({
userContext,
reason,
}) => Promise<string | undefined> | string | undefined
| undefined;
Defined in: types.ts:80
WebJSRecipeInterface<T>
type WebJSRecipeInterface<T> = Omit<T, "default" | "init" | "signOut">;
Defined in: types.ts:195
Type Parameters
Variables
nonPublicConfigProperties
const nonPublicConfigProperties: readonly ["experimental"];
Defined in: types.ts:564