APIInterface
: { appleRedirectHandlerPOST
: undefined | ((input
: { formPostInfoFromProvider
: {}; options
: APIOptions; userContext
: UserContext }) => Promise<void>); authorisationUrlGET
: undefined | ((input
: { options
: APIOptions; provider
: TypeProvider; redirectURIOnProviderDashboard
: string; tenantId
: string; userContext
: UserContext }) => Promise<{ pkceCodeVerifier
?: string; status
: "OK"; urlWithQueryParams
: string } | GeneralErrorResponse>); signInUpPOST
: undefined | ((input
: { options
: APIOptions; provider
: TypeProvider; session
: SessionContainer | undefined; shouldTryLinkingWithSessionUser
: boolean | undefined; tenantId
: string; userContext
: UserContext } & ({ redirectURIInfo
: { pkceCodeVerifier
?: string; redirectURIOnProviderDashboard
: string; redirectURIQueryParams
: any } } | { oAuthTokens
: {} })) => Promise<{ createdNewRecipeUser
: boolean; oAuthTokens
: {}; rawUserInfoFromProvider
: { fromIdTokenPayload
?: {}; fromUserInfoAPI
?: {} }; session
: SessionContainer; status
: "OK"; user
: User } | { status
: "NO_EMAIL_GIVEN_BY_PROVIDER" } | { reason
: string; status
: "SIGN_IN_UP_NOT_ALLOWED" } | GeneralErrorResponse>) }