@cfxlabsinc/b2b-services
    Preparing search index...

    Admin reads and writes on one user pool, for provisioning. Credentials come from the environment.

    Index
    • Lets sign-in return to callbackUrl and sign-out land on logoutUrl; a no-op when both already do.

      Parameters

      • __namedParameters: { callbackUrl: string; clientId: string; logoutUrl: string }

      Returns Promise<{ ok: true; value: void }>

    • Withdraws callbackUrl and logoutUrl from the app client; a no-op when neither is listed.

      Parameters

      • __namedParameters: { callbackUrl: string; clientId: string; logoutUrl: string }

      Returns Promise<{ ok: true; value: void }>

    • Emails an UNCONFIRMED user a new sign-up code, as the sign-in page's resend does, on appClient; the user still confirms it themselves.

      Parameters

      • __namedParameters: { appClient: { authDomain: string; clientId: string }; username: string }

      Returns Promise<{ error: CognitoAuthError; ok: false } | { ok: true; value: void }>