UNPKG

piral-adal

Version:

Plugin to integrate AAD authentication in Piral.

14 lines 353 B
/** * Creates new Pilet API extensions for the integration of MSAL. */ export function createAdalApi(client) { return (context) => { context.on('before-fetch', client.extendHeaders); return { getAccessToken() { return client.token(); }, }; }; } //# sourceMappingURL=create.js.map