Skip to content

Getting Started

설치

설치
터미널 창
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();

Type Reference

타입 참조

Options

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

Source Of Truth

진실의 근원

This page is generated from the plugin’s src/definitions.tsAPI이 upstream에서 변경될 때 다시 싱크를 실행하세요.

Getting Started에서 계속

Getting Started에서 계속

만약에 사용 중이라면 Getting Started 인증 및 계정 흐름을 계획하고 연결하려면 Using @capgo/capacitor-autofill-save-password for the native capability in Using @capgo/capacitor-autofill-save-password, @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-passkey, @capgo/capacitor-native-biometric for the implementation detail in @capgo/capacitor-native-biometric, and Two-factor authentication __CAPGO_KEEP_0__