- V2WebView 컴포넌트: iframe 기반 외부 웹 임베딩 - SSO 연동: 현재 로그인 JWT를 sso_token 파라미터로 자동 전달 - /api/system/raw-token: 범용 JWT 토큰 조회 API - V2WebViewConfigPanel: URL, SSO, sandbox 등 설정 UI + 개발자 가이드 Made-with: Cursor
17 lines
508 B
TypeScript
17 lines
508 B
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
import { AutoRegisteringComponentRenderer } from "../../AutoRegisteringComponentRenderer";
|
|
import { V2WebViewDefinition } from "./index";
|
|
import { V2WebViewComponent } from "./V2WebViewComponent";
|
|
|
|
export class V2WebViewRenderer extends AutoRegisteringComponentRenderer {
|
|
static componentDefinition = V2WebViewDefinition;
|
|
|
|
render(): React.ReactElement {
|
|
return <V2WebViewComponent {...this.props} renderer={this} />;
|
|
}
|
|
}
|
|
|
|
V2WebViewRenderer.registerSelf();
|