APIInterface
: { appleRedirectHandlerPOST
: undefined | ((input
: { formPostInfoFromProvider
: any; options
: ThirdPartyAPIOptions; userContext
: any }) => Promise<void>); authorisationUrlGET
: undefined | ((input
: { options
: ThirdPartyAPIOptions; provider
: TypeProvider; redirectURIOnProviderDashboard
: string; tenantId
: string; userContext
: any }) => Promise<{ pkceCodeVerifier
?: string; status
: "OK"; urlWithQueryParams
: string } | GeneralErrorResponse>); emailPasswordEmailExistsGET
: undefined | ((input
: { email
: string; options
: EmailPasswordAPIOptions; tenantId
: string; userContext
: any }) => Promise<{ exists
: boolean; status
: "OK" } | GeneralErrorResponse>); emailPasswordSignInPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: EmailPasswordAPIOptions; tenantId
: string; userContext
: any }) => Promise<{ session
: SessionContainer; status
: "OK"; user
: User } | { status
: "WRONG_CREDENTIALS_ERROR" } | GeneralErrorResponse>); emailPasswordSignUpPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: EmailPasswordAPIOptions; tenantId
: string; userContext
: any }) => Promise<{ session
: SessionContainer; status
: "OK"; user
: User } | { status
: "EMAIL_ALREADY_EXISTS_ERROR" } | GeneralErrorResponse>); generatePasswordResetTokenPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: EmailPasswordAPIOptions; tenantId
: string; userContext
: any }) => Promise<{ status
: "OK" } | GeneralErrorResponse>); passwordResetPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: EmailPasswordAPIOptions; tenantId
: string; token
: string; userContext
: any }) => Promise<{ status
: "OK"; userId
?: string } | { status
: "RESET_PASSWORD_INVALID_TOKEN_ERROR" } | GeneralErrorResponse>); thirdPartySignInUpPOST
: undefined | ((input
: { options
: ThirdPartyAPIOptions; provider
: TypeProvider; tenantId
: string; userContext
: any } & ({ redirectURIInfo
: { pkceCodeVerifier
?: string; redirectURIOnProviderDashboard
: string; redirectURIQueryParams
: any } } | { oAuthTokens
: {} })) => Promise<{ createdNewUser
: boolean; oAuthTokens
: {}; rawUserInfoFromProvider
: { fromIdTokenPayload
?: {}; fromUserInfoAPI
?: {} }; session
: SessionContainer; status
: "OK"; user
: User } | { status
: "NO_EMAIL_GIVEN_BY_PROVIDER" } | GeneralErrorResponse>) }