import { ProfileInfo, BackstageIdentityResponse } from '@backstage/core-plugin-api'; export type { OAuth2CreateOptions } from './OAuth2'; export type { PopupOptions } from '../../../../lib/AuthConnector'; /** * Session information for generic OAuth2 auth. * * @public */ export type OAuth2Session = { providerInfo: { idToken: string; accessToken: string; scopes: Set; expiresAt?: Date; }; profile: ProfileInfo; backstageIdentity?: BackstageIdentityResponse; };