/*
 * Copyright (c) 2023-2025 Datalayer, Inc.
 * Distributed under the terms of the Modified BSD License.
 */
/**
 * IAM (Identity and Access Management) API exports.
 *
 * Provides organized access to authentication, OAuth2, and user profile functionality.
 *
 * @module api/iam
 */
export * as authentication from './authentication.js';
export * as oauth2 from './oauth2.js';
export * as profile from './profile.js';
export * as healthz from './healthz.js';
export * as usage from './usage.js';
export * as secrets from './secrets.js';
export * as datasources from './datasources.js';
// For backward compatibility, export the old API structure
export { login, logout, checkAuth } from './authentication.js';
export { getOAuth2AuthzUrl, getOAuth2AuthzUrlForLink, handleGitHubOAuth2Callback, handleLinkedInOAuth2Callback, handleOktaOAuth2Callback, } from './oauth2.js';
export { me, whoami } from './profile.js';
export { ping } from './healthz.js';
export { getCredits } from './usage.js';
