How to use the @authx/authx.Client.write function in @authx/authx

To help you get started, we’ve selected a few @authx/authx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github the-control-group / authx / packages / tools / src / lib / fixture / client.ts View on Github external
insert: (tx: PoolClient) =>
      Client.write(
        tx,
        {
          id: "17436d83-6022-4101-bf9f-997f1550f57c",
          enabled: true,
          name: "Dunder Mifflin Inventory Portal",
          description: "All those problems will be a thing of the past in 2.0.",
          secrets: [
            "1f1bb71ebe4341418dbeab6e8e693ec27336425fb2c021219305593ad12043a2"
          ],
          urls: [
            "https://www.dundermifflin.com",
            "https://admin.dundermifflin.com"
          ],
          userIds: ["51192909-3664-44d5-be62-c6b45f0b0ee6"]
        },
        {