__CAPGO_KEEP_3__

시작하기

GitHub

설치

설치

AI-assisted 설치를 사용하여 플러그인을 설치할 수 있습니다. 다음 명령어를 사용하여 Capgo 기능을 AI 도구에 추가하세요:

터미널 창
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.

만약 Manual Setup을 선호한다면, 플러그인을 설치하기 위해 다음 명령어를 실행하고 아래의 플랫폼별 지침을 따르세요:

터미널 창
bun add @capgo/capacitor-autofill-save-password
bunx cap sync
import { SavePassword } from '@capgo/capacitor-autofill-save-password';

API 개요

API 개요

promptDialog

promptDialog

키 체인에 암호를 저장하세요.

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

readPassword

__CAPGO_KEEP_0__

키 체인에서 암호를 읽습니다. iOS 앱에 대한 연관된 도메인을 개발자가 설정해야 합니다.

import { SavePassword } from '@capgo/capacitor-autofill-save-password';
const result = await SavePassword.readPassword();
// The result holds sensitive values: use it without logging it.

타입 참조

타입 참조

Options

설정
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;
}

실질적인 진실

실질적인 진실 섹션

이 페이지는 플러그인의 src/definitions.tsAPI의 공개 변경 사항이 업스트림에서 다시 동기화할 때 다시 동기화하십시오.

이 플러그인을 사용 중이라면 시작하기 인증 및 계정 흐름을 계획하는 데 사용하는 경우 @capgo/capacitor-autofill-save-password @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 두 단계 인증 두 단계 인증