{"name":"@jennifer/oauthext","description":"Vendor OAuth2 for the oauth module: Google and Microsoft presets, Google service accounts","versions":{"0.1.0":{"version":"0.1.0","kind":"git","url":"https://github.com/jennifer-language/deck-oauthext.git","ref":"0.1.0","commit":"96ff3d57e1903c443f35786b8a3a93c71f1df0d3","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":["net"],"keywords":["oauth","oauth2","google","microsoft","entra"],"description":"Vendor OAuth2 for the oauth module: Google and Microsoft presets, Google service accounts","publishedAt":"1794547417","repoId":1456182821,"repoOwnerId":305727207,"repoOwner":"jennifer-language"}},"readme":"# @jennifer/oauthext\n\n[![test](https://github.com/jennifer-language/deck-oauthext/actions/workflows/test.yml/badge.svg)](https://github.com/jennifer-language/deck-oauthext/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://jennifer-language.github.io/deck-oauthext/)\n[![release](https://img.shields.io/github/v/release/jennifer-language/deck-oauthext)](https://github.com/jennifer-language/deck-oauthext/releases/latest)\n\nVendor-specific OAuth2 for the bundled `oauth` module of\n[Jennifer](https://jennifer-lang.dev/): `Config` presets for Google and\nMicrosoft Entra ID, and Google service-account logins from a JSON key file\n(the RFC 7523 JWT bearer grant), which open Google Cloud and Workspace APIs to\na program with no user. The presets were `oauth.google` / `oauth.microsoft` in\nthe bundled module up to Jennifer 0.25.\n\n**[Documentation](https://jennifer-language.github.io/deck-oauthext/)**\n\n## Install\n\n```sh\njvc add @jennifer/oauthext\n```\n\nThis vendors the deck to `vendor/\u003cscope\u003e/oauthext/`. Without `jvc`, unpack the\n`src/` subtree of a release archive (`\u003cscope\u003e-oauthext-\u003cversion\u003e.tar.gz`) there.\n\n## Usage\n\n```jennifer\nimport \"oauth.j\" as oauth;\nimport \"@jennifer/oauthext/\" as oauthext;\n\ndef tok as oauth.Token init oauthext.googleServiceAccount(\n    fs.readString(\"service-account.json\"),\n    \"https://www.googleapis.com/auth/cloud-platform\");\n\ndef cfg as oauth.Config init oauthext.microsoft(\"common\", $clientId, \"\",\n    \"https://outlook.office.com/IMAP.AccessAsUser.All offline_access\");\n```\n\n## Requirements\n\nJennifer 0.26.0 or newer, the default `jennifer` binary (the deck needs\n`net`; the stock `jennifer-tiny` has no network driver). RS256 signing for\nservice accounts is in the default binary.\n\n## Development\n\n```sh\ntools/check-all.sh                   # the full gate, as CI runs it\njennifer test src/oauthext_test.j      # the test overlay\ntools/check-docs.sh                  # docs against the code\ntools/pack.sh dist                   # build the release archive\n```\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n\n`tools/check-headers.sh` checks every source file's SPDX header against\n`deck.toml`.\n"}