__CAPGO_KEEP_3__

はじめに

GitHub

AI-Assisted Setupを使用してプラグインをインストールできます。AIツールにCapgoスキルを追加するには、以下のコマンドを実行してください。

ターミナル画面
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins

次に、以下のプロンプトを使用してください。

Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-ssl-pinning` plugin in my project.

Manual Setupを使用する場合は、以下のコマンドを実行してプラグインをインストールし、以下のプラットフォーム固有の指示に従ってください。

ターミナル画面
bun add @capgo/capacitor-ssl-pinning
bunx cap sync
import { SSLPinning } from '@capgo/capacitor-ssl-pinning';

プラグインが見える有効なネイティブ構成を返します。

import { SSLPinning } from '@capgo/capacitor-ssl-pinning';
const result = await SSLPinning.getConfiguration();
console.log(result);

プラグインが見える静的SSLピンニング構成

export interface SSLPinningConfigurationState {
/**
* Whether at least one certificate is configured for native pinning.
*/
configured: boolean;
/**
* Certificate paths from `capacitor.config.*` relative to the app root.
*/
certs: string[];
/**
* Fully-qualified URLs that should bypass SSL pinning.
*/
excludedDomains: string[];
}

プラグインバージョンペイロード。

export interface PluginVersionResult {
/**
* Version identifier returned by the platform implementation.
*/
version: string;
}

このページはプラグインの src/definitions.tsパブリックAPIがアップストリームで変更されたときに再度同期を実行してください。

「Getting Started」から続けてください

「Getting Started」から続けてください

あなたが 「Getting Started」を使用してセキュリティと法的要件を計画している場合、 「@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-ssl-pinning」を接続してください Using @capgo/capacitor-ssl-pinning native機能の使用に@capgo/capacitor-ssl-pinningのために 暗号化 __CAPGO_KEEP_0__の実装詳細のために 法的合致 __CAPGO_KEEP_0__の実装詳細のために Capgo セキュリティ スキャナー Capgo セキュリティ スキャナー Capgo セキュリティ for the product workflow in Capgo Security.