import type { AtprotoProviderClientMetadata } from './atproto.js'; import type { OAuthRuntimeConfigExtension } from './oauth-config.js'; import type { LiveChatConfig } from '../server/lib/oauth/livechat.js'; import type { OAuthAppleConfig } from '../server/lib/oauth/apple.js'; import type { OAuthAtlassianConfig } from '../server/lib/oauth/atlassian.js'; import type { OAuthAuth0Config } from '../server/lib/oauth/auth0.js'; import type { OAuthAuthentikConfig } from '../server/lib/oauth/authentik.js'; import type { OAuthAzureB2CConfig } from '../server/lib/oauth/azureb2c.js'; import type { OAuthBattledotnetConfig } from '../server/lib/oauth/battledotnet.js'; import type { OAuthBoxConfig } from '../server/lib/oauth/box.js'; import type { OAuthCloudflareConfig } from '../server/lib/oauth/cloudflare.js'; import type { OAuthCognitoConfig } from '../server/lib/oauth/cognito.js'; import type { OAuthDiscordConfig } from '../server/lib/oauth/discord.js'; import type { OAuthDropboxConfig } from '../server/lib/oauth/dropbox.js'; import type { OAuthFacebookConfig } from '../server/lib/oauth/facebook.js'; import type { OAuthGitHubConfig } from '../server/lib/oauth/github.js'; import type { OAuthGitLabConfig } from '../server/lib/oauth/gitlab.js'; import type { OAuthGiteaConfig } from '../server/lib/oauth/gitea.js'; import type { OAuthGoogleConfig } from '../server/lib/oauth/google.js'; import type { OAuthHerokuConfig } from '../server/lib/oauth/heroku.js'; import type { OAuthHubspotConfig } from '../server/lib/oauth/hubspot.js'; import type { OAuthInstagramConfig } from '../server/lib/oauth/instagram.js'; import type { OAuthKeycloakConfig } from '../server/lib/oauth/keycloak.js'; import type { OAuthKickConfig } from '../server/lib/oauth/kick.js'; import type { OAuthLineConfig } from '../server/lib/oauth/line.js'; import type { OAuthLinearConfig } from '../server/lib/oauth/linear.js'; import type { OAuthLinkedInConfig } from '../server/lib/oauth/linkedin.js'; import type { OAuthMastodonConfig } from '../server/lib/oauth/mastodon.js'; import type { OAuthMicrosoftConfig } from '../server/lib/oauth/microsoft.js'; import type { OAuthOidcConfig } from '../server/lib/oauth/oidc.js'; import type { OAuthOktaConfig } from '../server/lib/oauth/okta.js'; import type { OAuthOryConfig } from '../server/lib/oauth/ory.js'; import type { OAuthOsuConfig } from '../server/lib/oauth/osu.js'; import type { OAuthPaypalConfig } from '../server/lib/oauth/paypal.js'; import type { OAuthPolarConfig } from '../server/lib/oauth/polar.js'; import type { OAuthRiotGamesConfig } from '../server/lib/oauth/riotgames.js'; import type { OAuthRobloxConfig } from '../server/lib/oauth/roblox.js'; import type { OAuthSalesforceConfig } from '../server/lib/oauth/salesforce.js'; import type { OAuthSeznamConfig } from '../server/lib/oauth/seznam.js'; import type { OAuthShopifyCustomerConfig } from '../server/lib/oauth/shopifyCustomer.js'; import type { OAuthSlackConfig } from '../server/lib/oauth/slack.js'; import type { OAuthSpotifyConfig } from '../server/lib/oauth/spotify.js'; import type { OAuthSteamConfig } from '../server/lib/oauth/steam.js'; import type { OAuthStravaConfig } from '../server/lib/oauth/strava.js'; import type { OAuthTikTokConfig } from '../server/lib/oauth/tiktok.js'; import type { OAuthTwitchConfig } from '../server/lib/oauth/twitch.js'; import type { OAuthVKConfig } from '../server/lib/oauth/vk.js'; import type { OAuthWechatConfig } from '../server/lib/oauth/wechat.js'; import type { OAuthWorkOSConfig } from '../server/lib/oauth/workos.js'; import type { OAuthXConfig } from '../server/lib/oauth/x.js'; import type { OAuthXSUAAConfig } from '../server/lib/oauth/xsuaa.js'; import type { OAuthYandexConfig } from '../server/lib/oauth/yandex.js'; import type { OAuthZendeskConfig } from '../server/lib/oauth/zendesk.js'; import type { OAuthZitadelConfig } from '../server/lib/oauth/zitadel.js'; /** * Runtime configuration of every OAuth provider supported by the module, exposed as `runtimeConfig.oauth`. * * Keys are the provider names accepted by `defineOAuthEventHandler()`, and they are always * set by the module, so server code can read them without checking for `undefined`. In `nuxt.config`, * `runtimeConfig` is deep-partial, so you only write the providers you use. * Providers contributed by other modules can add themselves through the `OAuthRuntimeConfigExtension` * interface, and any other key stays `unknown`. */ export interface OAuthRuntimeConfig extends OAuthRuntimeConfigExtension { [provider: string]: unknown; apple: OAuthAppleConfig; atlassian: OAuthAtlassianConfig; auth0: OAuthAuth0Config; authentik: OAuthAuthentikConfig; azureb2c: OAuthAzureB2CConfig; battledotnet: OAuthBattledotnetConfig; bluesky: AtprotoProviderClientMetadata; box: OAuthBoxConfig; cloudflare: OAuthCloudflareConfig; cognito: OAuthCognitoConfig; discord: OAuthDiscordConfig; dropbox: OAuthDropboxConfig; facebook: OAuthFacebookConfig; gitea: OAuthGiteaConfig; github: OAuthGitHubConfig; gitlab: OAuthGitLabConfig; google: OAuthGoogleConfig; heroku: OAuthHerokuConfig; hubspot: OAuthHubspotConfig; instagram: OAuthInstagramConfig; keycloak: OAuthKeycloakConfig; kick: OAuthKickConfig; line: OAuthLineConfig; linear: OAuthLinearConfig; linkedin: OAuthLinkedInConfig; livechat: LiveChatConfig; mastodon: OAuthMastodonConfig; microsoft: OAuthMicrosoftConfig; oidc: OAuthOidcConfig; okta: OAuthOktaConfig; ory: OAuthOryConfig; osu: OAuthOsuConfig; paypal: OAuthPaypalConfig; polar: OAuthPolarConfig; riotgames: OAuthRiotGamesConfig; roblox: OAuthRobloxConfig; salesforce: OAuthSalesforceConfig; seznam: OAuthSeznamConfig; shopifyCustomer: OAuthShopifyCustomerConfig; slack: OAuthSlackConfig; spotify: OAuthSpotifyConfig; steam: OAuthSteamConfig; strava: OAuthStravaConfig; tiktok: OAuthTikTokConfig; twitch: OAuthTwitchConfig; vk: OAuthVKConfig; wechat: OAuthWechatConfig; workos: OAuthWorkOSConfig; x: OAuthXConfig; xsuaa: OAuthXSUAAConfig; yandex: OAuthYandexConfig; zendesk: OAuthZendeskConfig; zitadel: OAuthZitadelConfig; }