"use client"; import React from "react"; import { Label } from "@/components/ui/label"; import { Input } from "@/components/ui/input"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { AuthType } from "@/lib/api/externalRestApiConnection"; interface AuthenticationConfigProps { authType: AuthType; authConfig: any; onAuthTypeChange: (type: AuthType) => void; onAuthConfigChange: (config: any) => void; } export function AuthenticationConfig({ authType, authConfig = {}, onAuthTypeChange, onAuthConfigChange, }: AuthenticationConfigProps) { // 인증 설정 변경 const updateAuthConfig = (field: string, value: string) => { onAuthConfigChange({ ...authConfig, [field]: value, }); }; return (
* Authorization 헤더에 "Bearer {token}" 형식으로 전송됩니다.
* Authorization 헤더에 Base64 인코딩된 인증 정보가 전송됩니다.
* OAuth 2.0 Client Credentials Grant 방식을 사용합니다.