oidc-provider
Version:
OAuth 2.0 Authorization Server implementation for Node.js with OpenID Connect
18 lines (14 loc) • 720 B
JavaScript
/* eslint-disable import/first */
// eslint-disable-next-line import/order
import * as attention from './helpers/attention.js';
const minimal = 'Jod';
const { lts: codename } = process.release || {};
if (!codename || codename.charCodeAt(0) < minimal.charCodeAt(0) || typeof Bun !== 'undefined' || typeof Deno !== 'undefined') {
attention.warn('Unsupported runtime. Use Node.js v22.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 };
export { ExternalSigningKey } from './helpers/keystore.js';