APIInterface
: { appleRedirectHandlerPOST
: undefined | ((input
: { code
: string; options
: ThirdPartyAPIOptions; state
: string; userContext
: any }) => Promise<void>); authorisationUrlGET
: undefined | ((input
: { options
: ThirdPartyAPIOptions; provider
: TypeProvider; userContext
: any }) => Promise<{ status
: "OK"; url
: string } | GeneralErrorResponse>); emailPasswordEmailExistsGET
: undefined | ((input
: { email
: string; options
: EmailPasswordAPIOptions; userContext
: any }) => Promise<{ exists
: boolean; status
: "OK" } | GeneralErrorResponse>); emailPasswordSignInPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: EmailPasswordAPIOptions; userContext
: any }) => Promise<{ session
: SessionContainer; status
: "OK"; user
: User } | { status
: "WRONG_CREDENTIALS_ERROR" } | GeneralErrorResponse>); emailPasswordSignUpPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: EmailPasswordAPIOptions; 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; userContext
: any }) => Promise<{ status
: "OK" } | GeneralErrorResponse>); passwordResetPOST
: undefined | ((input
: { formFields
: { id
: string; value
: string }[]; options
: EmailPasswordAPIOptions; token
: string; userContext
: any }) => Promise<{ status
: "OK"; userId
?: string } | { status
: "RESET_PASSWORD_INVALID_TOKEN_ERROR" } | GeneralErrorResponse>); thirdPartySignInUpPOST
: undefined | ((input
: { authCodeResponse
?: any; clientId
?: string; code
: string; options
: ThirdPartyAPIOptions; provider
: TypeProvider; redirectURI
: string; userContext
: any }) => Promise<{ authCodeResponse
: any; createdNewUser
: boolean; session
: SessionContainer; status
: "OK"; user
: User } | GeneralErrorResponse | { status
: "NO_EMAIL_GIVEN_BY_PROVIDER" }>) }