References
OAuth Provider Types
Type Aliases
ComponentOverrideMap
type ComponentOverrideMap = object;
Defined in: recipe/oauth2provider/types.ts:97
Properties
ContinueOAuth2AfterRefreshRedirectContext
type ContinueOAuth2AfterRefreshRedirectContext = object;
Defined in: recipe/oauth2provider/types.ts:65
Properties
GetRedirectionURLContext
type GetRedirectionURLContext = NormalisedGetRedirectionURLContext<
| SuccessRedirectContextOAuth2
| ContinueOAuth2AfterRefreshRedirectContext
| PostOAuth2LogoutRedirectContext>;
Defined in: recipe/oauth2provider/types.ts:77
NormalisedConfig
type NormalisedConfig = NormalisedRecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext> & object;
Defined in: recipe/oauth2provider/types.ts:40
Type Declaration
OAuth2LogoutScreenConfig
type OAuth2LogoutScreenConfig = NormalisedBaseConfig & object;
Defined in: recipe/oauth2provider/types.ts:56
Type Declaration
OAuth2LogoutScreenThemeProps
type OAuth2LogoutScreenThemeProps = object;
Defined in: recipe/oauth2provider/types.ts:101
Properties
OAuth2TryRefreshPageConfig
type OAuth2TryRefreshPageConfig = object;
Defined in: recipe/oauth2provider/types.ts:61
Properties
OnHandleEventContext
type OnHandleEventContext =
| {
action: "LOADED_LOGIN_CHALLENGE";
loginChallenge: string;
loginInfo: SuperTokensWrapper;
userContext: UserContext;
}
| {
action: "OAUTH2_LOGOUT_SUCCESS";
frontendRedirectTo: string;
userContext: UserContext;
};
Defined in: recipe/oauth2provider/types.ts:81
PostOAuth2LogoutRedirectContext
type PostOAuth2LogoutRedirectContext = object;
Defined in: recipe/oauth2provider/types.ts:71
Properties
PreAndPostAPIHookAction
type PreAndPostAPIHookAction =
| "GET_LOGIN_CHALLENGE_INFO"
| "GET_REDIRECT_URL_TO_CONTINUE_OAUTH_FLOW"
| "LOG_OUT";
Defined in: recipe/oauth2provider/types.ts:16
PreAPIHookContext
type PreAPIHookContext = object;
Defined in: recipe/oauth2provider/types.ts:21
Properties
UserInput
type UserInput = object & RecipeModuleUserInput<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
Defined in: recipe/oauth2provider/types.ts:28