oidc-provider
Version:
OAuth 2.0 Authorization Server implementation for Node.js with OpenID Connect
17 lines (13 loc) • 630 B
JavaScript
/* eslint-disable import/first */
// eslint-disable-next-line import/order
import * as attention from './helpers/attention.js';
const minimal = 'Hydrogen';
const { lts: codename } = process.release || {};
if (!codename || codename.charCodeAt(0) < minimal.charCodeAt(0) || typeof Bun !== 'undefined') {
attention.warn('Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release.');
}
import Provider from './provider.js';
import * as errors from './helpers/errors.js';
import * as interactionPolicy from './helpers/interaction_policy/index.js';
export default Provider;
export { errors, interactionPolicy, Provider };