@salesforce/core
    Preparing search index...

    Function authorizeScratchOrg

    • 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;
        }

      Returns Promise<AuthInfo>