Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 630 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 630 Bytes

magisterjs-dynamic-authcode

This package automatically fetches the authentication code used by magister.js.

Using this package is recommended if you use magister.js in an app. Alternatively you can execute an HTTP GET-request yourself or rely on the authentication code that comes bundled in magister.js. See the magisterjs-authcode repository for more information.

npm install @magisterjs/dynamic-authcode

const getAuthCode = require('@magisterjs/dynamic-authcode');

const authCode = await getAuthCode();