Type Alias: BootstrapResponse

BootstrapResponse: object

Response type for SDK initialization operations.

Multi-org Response: In multi-org scenarios, orgStates contains the status of each org:

  • OrgStates.INITIALIZATION_SUCCESS - Org initialized successfully
  • OrgStates.INITIALIZATION_ERROR - Org initialization failed (check reason for details)
  • OrgStates.AUTH_REDIRECT - Authentication redirect required (check redirectUrl in OrgStateInfo for the redirect URL)

The status field indicates overall result:

  • Status.SUCCESS - All orgs initialized successfully
  • Status.PARTIAL_SUCCESS - Some orgs initialized successfully (multi-org only)
  • Status.FAILURE - All orgs failed to initialize or require redirect

Type declaration 

message 

message: string

Required. The response message.

orgStates? 

optional orgStates: OrgStatesMap

A map of org(s) response statuses.

status 

status: Status

Required. The response status.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!