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();