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;
      }
      • OptionalclientSecret?: string
      • hubOrg: Org
      • Optionalretry?: number
      • scratchOrgInfoComplete: ScratchOrgInfo
      • OptionalsignupTargetLoginUrl?: string

    Returns Promise<AuthInfo>