Skip to content
Esc
navigateopen⌘Jpreview
Dashboard
On this page

supertokens-auth-react/recipe/thirdparty/types

References documentation for the supertokens-auth-react/recipe/thirdparty/types package

Type Aliases

ComponentOverrideMap

type ComponentOverrideMap = object;

Defined in: recipe/thirdparty/types.ts

Properties

Property Type Defined in
ThirdPartySignInAndUpCallbackTheme_Override? ComponentOverride<typeof SuperTokensWrapper> recipe/thirdparty/types.ts
ThirdPartySignInAndUpProvidersForm_Override? ComponentOverride<typeof SuperTokensWrapper> recipe/thirdparty/types.ts

Config

type Config = UserInput & AuthRecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;

Defined in: recipe/thirdparty/types.ts


CustomStateProperties

type CustomStateProperties = object;

Defined in: recipe/thirdparty/types.ts

Properties

Property Type Defined in
oauth2LoginChallenge? string recipe/thirdparty/types.ts
redirectToPath string recipe/thirdparty/types.ts
rid string recipe/thirdparty/types.ts

GetRedirectionURLContext

type GetRedirectionURLContext = never;

Defined in: recipe/thirdparty/types.ts


NormalisedConfig

type NormalisedConfig = object & NormalisedAuthRecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;

Defined in: recipe/thirdparty/types.ts

Type Declaration

Name Type Defined in
oAuthCallbackScreen FeatureBaseConfig recipe/thirdparty/types.ts
override object recipe/thirdparty/types.ts
override.functions() (originalImplementation, builder) => SuperTokensWrapper recipe/thirdparty/types.ts
signInAndUpFeature NormalisedSignInAndUpFeatureConfig recipe/thirdparty/types.ts

NormalisedSignInAndUpFeatureConfig

type NormalisedSignInAndUpFeatureConfig = NormalisedBaseConfig & object;

Defined in: recipe/thirdparty/types.ts

Type Declaration

Name Type Defined in
providers SuperTokensWrapper[] recipe/thirdparty/types.ts

OnHandleEventContext

type OnHandleEventContext = 
  | AuthRecipeModuleOnHandleEventContext
  | {
  action: "SUCCESS";
  createdNewSession: boolean;
  isNewRecipeUser: boolean;
  user: SuperTokensWrapper;
  userContext: UserContext;
};

Defined in: recipe/thirdparty/types.ts


PreAndPostAPIHookAction

type PreAndPostAPIHookAction = "GET_AUTHORISATION_URL" | "THIRD_PARTY_SIGN_IN_UP";

Defined in: recipe/thirdparty/types.ts


PreAPIHookContext

type PreAPIHookContext = object;

Defined in: recipe/thirdparty/types.ts

Properties


SignInAndUpFeatureUserInput

type SignInAndUpFeatureUserInput = FeatureBaseConfig & object;

Defined in: recipe/thirdparty/types.ts

Type Declaration

Name Type Defined in
providers? ( | SuperTokensWrapper | CustomProviderConfig)[] recipe/thirdparty/types.ts

SignInAndUpThemeProps

type SignInAndUpThemeProps = PartialAuthComponentProps & object;

Defined in: recipe/thirdparty/types.ts

Type Declaration

Name Type Defined in
config NormalisedConfig recipe/thirdparty/types.ts
providers Pick<SuperTokensWrapper, "id" | "getButton">[] recipe/thirdparty/types.ts
recipeImplementation WebJSRecipeInterface<typeof SuperTokensWrapper> recipe/thirdparty/types.ts

StateObject

type StateObject = SuperTokensWrapper & object;

Defined in: recipe/thirdparty/types.ts

Type Declaration

Name Type Defined in
redirectToPath? string recipe/thirdparty/types.ts
rid? string recipe/thirdparty/types.ts

UserInput

type UserInput = object & AuthRecipeModuleUserInput<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;

Defined in: recipe/thirdparty/types.ts

Type Declaration

Name Type Defined in
oAuthCallbackScreen? FeatureBaseConfig recipe/thirdparty/types.ts
override? object recipe/thirdparty/types.ts
override.functions()? (originalImplementation, builder) => SuperTokensWrapper recipe/thirdparty/types.ts
signInAndUpFeature? SignInAndUpFeatureUserInput recipe/thirdparty/types.ts

API reference

API schema and response details