메뉴로 바로가기

Getting Started

GitHub

Capgo의 AI-assisted 설치를 사용하여 플러그인을 설치할 수 있습니다. 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-autofill-save-password` plugin in my project.

터미널 창

설치 방법은 플랫폼에 따라 다르니 아래의 지침을 따르세요.
bun add @capgo/capacitor-autofill-save-password
bunx cap sync
import { SavePassword } from '@capgo/capacitor-autofill-save-password';

키 체인에 암호 저장

import { SavePassword } from '@capgo/capacitor-autofill-save-password';
await SavePassword.promptDialog({
username: 'your-username',
password: 'your-password'
});

키 체인에서 암호 읽기. iOS 앱에 대한 연관된 도메인을 개발자가 설정해야 함.

import { SavePassword } from '@capgo/capacitor-autofill-save-password';
await SavePassword.readPassword();
export interface Options {
/**
* The username to save.
*/
username: string;
/**
* The password to save.
*/
password: string;
/**
* The url to save the password for. (For example: "console.capgo.app")
* iOS only.
*/
url?: string;
}

ReadPasswordResult

ReadPasswordResult
export interface ReadPasswordResult {
/**
* The username of the password.
*/
username: string;
/**
* The password of the password.
*/
password: string;
}

Source Of Truth

Source Of Truth

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

Getting Started에서 계속

Getting Started에서 계속

__CAPGO_KEEP_0__를 사용하는 경우 Getting Started 인증 및 계정 흐름을 계획하고 연결하는 데 사용합니다. Using @capgo/capacitor-autofill-save-password native 기능을 위한 @capgo/capacitor-autofill-save-password @capgo/capacitor-social-login @capgo/capacitor-social-login 구현 세부 사항을 위한 @capgo/capacitor-passkey @capgo/capacitor-passkey 구현 세부 사항을 위한 @capgo/capacitor-native-biometric @capgo/capacitor-native-biometric 구현 세부 사항을 위한, Two-factor authentication Two-factor authentication 구현 세부 사항을 위한