{"library":"d2l-fetch-auth","type":"library","category":null,"description":"Middleware function for wrapping a window.Request object with Brightspace (D2L) authentication for use with d2l-fetch. Current stable version is 1.9.1. This package is specifically designed for D2L/Brightspace ecosystems, providing seamless integration with their authentication system for fetch requests. It offers two variants: a standard auth middleware and a framed version for iFramed Free Range Applications (iFRA). Release cadence follows semantic-release, triggered by `fix:` and `feat:` prefixed commits. Key differentiators: handles D2L-specific auth tokens and headers, works with both top-level and iframed contexts.","language":"javascript","status":"active","version":"1.9.1","tags":["javascript","fetch","middleware","auth"],"last_verified":"Wed May 27","install":[{"cmd":"npm install d2l-fetch-auth","imports":["import auth from 'd2l-fetch-auth/d2l-fetch-auth.js';","import auth from 'd2l-fetch-auth/d2l-fetch-auth-framed.js';","const auth = require('d2l-fetch-auth/d2l-fetch-auth.js');"]},{"cmd":"yarn add d2l-fetch-auth","imports":[]},{"cmd":"pnpm add d2l-fetch-auth","imports":[]}],"homepage":"https://www.d2l.com","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/d2l-fetch-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/d2l-fetch-auth/compatibility"}}