ThirdParty
Classes
default
Defined in: recipe/thirdparty/index.ts:47
Constructors
Constructor
new default(): default;
Returns
Properties
Methods
getAuthorisationURLWithQueryParamsAndSetState()
static getAuthorisationURLWithQueryParamsAndSetState(input): Promise<string>;
Defined in: recipe/thirdparty/index.ts:87
Parameters
Returns
Promise<string>
getProviders()
static getProviders(): object[];
Defined in: recipe/thirdparty/index.ts:124
Returns
object[]
getStateAndOtherInfoFromStorage()
static getStateAndOtherInfoFromStorage<CustomStateProperties>(input?): any;
Defined in: recipe/thirdparty/index.ts:78
Type Parameters
Parameters
Returns
any
init()
static init(config?): any;
Defined in: recipe/thirdparty/index.ts:52
Parameters
Returns
any
redirectToThirdPartyLogin()
static redirectToThirdPartyLogin(input): Promise<{
status: "OK" | "ERROR";
}>;
Defined in: recipe/thirdparty/index.ts:62
Parameters
Returns
Promise<{ status: "OK" | "ERROR"; }>
signInAndUp()
static signInAndUp(input?): Promise<
| {
createdNewRecipeUser: boolean;
fetchResponse: Response;
status: "OK";
user: User;
}
| {
fetchResponse: Response;
status: "NO_EMAIL_GIVEN_BY_PROVIDER";
}
| {
fetchResponse: Response;
reason: string;
status: "SIGN_IN_UP_NOT_ALLOWED";
}>;
Defined in: recipe/thirdparty/index.ts:101
Parameters
Returns
Promise< | { createdNewRecipeUser: boolean; fetchResponse: Response; status: "OK"; user: User; } | { fetchResponse: Response; status: "NO_EMAIL_GIVEN_BY_PROVIDER"; } | { fetchResponse: Response; reason: string; status: "SIGN_IN_UP_NOT_ALLOWED"; }>
signOut()
static signOut(input?): Promise<void>;
Defined in: recipe/thirdparty/index.ts:56
Parameters
Returns
Promise<void>
Variables
getAuthorisationURLWithQueryParamsAndSetState()
const getAuthorisationURLWithQueryParamsAndSetState: (input) => Promise<string> = Wrapper.getAuthorisationURLWithQueryParamsAndSetState;
Defined in: recipe/thirdparty/index.ts:154
Parameters
Returns
Promise<string>
getProviders()
const getProviders: () => object[] = Wrapper.getProviders;
Defined in: recipe/thirdparty/index.ts:156
Returns
object[]
getStateAndOtherInfoFromStorage()
const getStateAndOtherInfoFromStorage: <CustomStateProperties>(input?) => any = Wrapper.getStateAndOtherInfoFromStorage;
Defined in: recipe/thirdparty/index.ts:153
Type Parameters
Parameters
Returns
any
init()
const init: (config?) => any = Wrapper.init;
Defined in: recipe/thirdparty/index.ts:150
Parameters
Returns
any
redirectToThirdPartyLogin()
const redirectToThirdPartyLogin: (input) => Promise<{
status: "OK" | "ERROR";
}> = Wrapper.redirectToThirdPartyLogin;
Defined in: recipe/thirdparty/index.ts:152
Parameters
Returns
Promise<{ status: "OK" | "ERROR"; }>
signInAndUp()
const signInAndUp: (input?) => Promise<
| {
createdNewRecipeUser: boolean;
fetchResponse: Response;
status: "OK";
user: User;
}
| {
fetchResponse: Response;
status: "NO_EMAIL_GIVEN_BY_PROVIDER";
}
| {
fetchResponse: Response;
reason: string;
status: "SIGN_IN_UP_NOT_ALLOWED";
}> = Wrapper.signInAndUp;
Defined in: recipe/thirdparty/index.ts:155
Parameters
Returns
Promise< | { createdNewRecipeUser: boolean; fetchResponse: Response; status: "OK"; user: User; } | { fetchResponse: Response; status: "NO_EMAIL_GIVEN_BY_PROVIDER"; } | { fetchResponse: Response; reason: string; status: "SIGN_IN_UP_NOT_ALLOWED"; }>
signOut()
const signOut: (input?) => Promise<void> = Wrapper.signOut;
Defined in: recipe/thirdparty/index.ts:151
Parameters
Returns
Promise<void>
ThirdpartyComponentsOverrideProvider
const ThirdpartyComponentsOverrideProvider: any = Wrapper.ComponentsOverrideProvider;
Defined in: recipe/thirdparty/index.ts:157
References
ActiveDirectory
Renames and re-exports SuperTokensWrapper
Apple
Renames and re-exports SuperTokensWrapper
Bitbucket
Renames and re-exports SuperTokensWrapper
BoxySAML
Renames and re-exports SuperTokensWrapper
Discord
Renames and re-exports SuperTokensWrapper
Renames and re-exports SuperTokensWrapper
GetRedirectionURLContext
Re-exports GetRedirectionURLContext
Github
Renames and re-exports SuperTokensWrapper
Gitlab
Renames and re-exports SuperTokensWrapper
Renames and re-exports SuperTokensWrapper
GoogleWorkspaces
Renames and re-exports SuperTokensWrapper
Renames and re-exports SuperTokensWrapper
Okta
Renames and re-exports SuperTokensWrapper
OnHandleEventContext
Re-exports OnHandleEventContext
PreAPIHookContext
Re-exports PreAPIHookContext
RecipeInterface
Renames and re-exports SuperTokensWrapper
Renames and re-exports SuperTokensWrapper
UserInput
Re-exports UserInput