• after we successfully signup an org we need to trade the auth token for access and refresh token.

    scratchOrgInfoComplete - The completed ScratchOrgInfo which should contain an access token. hubOrg - the environment hub org clientSecret - The OAuth client secret. May be null for JWT OAuth flow. signupTargetLoginUrl - Login url override retry - auth retry attempts

    Parameters

    • options: {
          clientSecret?: string;
          hubOrg: Org;
          retry?: number;
          scratchOrgInfoComplete: ScratchOrgInfo;
          signupTargetLoginUrl?: string;
      }
      • Optional clientSecret?: string
      • hubOrg: Org
      • Optional retry?: number
      • scratchOrgInfoComplete: ScratchOrgInfo
      • Optional signupTargetLoginUrl?: string

    Returns Promise<AuthInfo>