"use client"; import { Shield } from "lucide-react"; import { OAuthClientInterface } from "../../interfaces/oauth.interface"; export interface OAuthConsentHeaderProps { /** The requesting OAuth client */ client: OAuthClientInterface; /** Optional logo URL override */ logoUrl?: string; /** Application name (e.g., "Only35") */ appName?: string; } /** * Header component for OAuth consent screen * Shows platform logo and requesting app information */ export function OAuthConsentHeader({ client, logoUrl, appName = "Only35" }: OAuthConsentHeaderProps) { return (
{/* Platform Logo */}
{logoUrl ? ( {appName} ) : (
)}
{/* Authorization Request */}

Authorize {client.name}

{client.name} wants to access your {appName} account

); }