컨텐츠로 바로가기

Getting Started

GitHub

설치

설치
터미널 창
bun add @capgo/capacitor-ssl-pinning
bunx cap sync

import

import
import { SSLPinning } from '@capgo/capacitor-ssl-pinning';

API Overview

API 개요

getConfiguration

__CAPGO_KEEP_0__ 개요

활성 네이티브 구성이 플러그인에 표시되는 현재 구성 반환

import { SSLPinning } from '@capgo/capacitor-ssl-pinning';
await SSLPinning.getConfiguration();

타입 참조

타입 참조

클립보드에 복사

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[];
}

PluginVersionResult

클립보드에 복사

__CAPGO_KEEP_0__ 개요

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

원본

원본

이 페이지는 플러그인의 src/definitions.tsAPI이 업스트림에서 변경될 때 다시 싱크를 실행하세요.

Getting Started에서 계속

Getting Started에서 계속

Capgo를 사용하는 경우 Getting Started을 사용하여 보안 및 규정 준수 계획을 수립하고 @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-ssl-pinning을 사용하여 @capgo/capacitor-ssl-pinning을 사용하는 native 기능 for the native capability in Using @capgo/capacitor-ssl-pinning, __CAPGO_KEEP_1__ __CAPGO_KEEP_0__ 구현 세부 정보에서 암호화에 대해 법적 준수 __CAPGO_KEEP_0__ 구현 세부 정보에서 법적 준수에 대해 Capgo 보안 스캐너 Capgo 보안 스캐너의 제품 워크플로에 대해, 그리고 Capgo 보안 Capgo 보안의 제품 워크플로에 대해