메인 콘텐츠로 건너뛰기
@capgo/capacitor-autofill-save-password 인증 및 보안 오픈 소스

자동 입력 저장 비밀번호 Capacitor 플러그인

사용자에게 장치 autofill에서 패스워드를 저장하도록提示하여 로그인 경험을 원활하게합니다.

설치

bun add @capgo/capacitor-autofill-save-password bunx cap sync
npm, pnpm 또는 yarn
  • npm install @capgo/capacitor-autofill-save-password
  • pnpm add @capgo/capacitor-autofill-save-password
  • yarn add @capgo/capacitor-autofill-save-password

사용 설명서

Capacitor에서 Autofill Save Password 사용하는 방법

장치에서 테스트

Capgo 앱을 다운로드하고 QR code를 스캔하세요.

자동 입력 저장 비밀번호 플러그인 미리보기 QR code

@capgo/capacitor-autofill-save-password을 사용합니다.

설치

Install

bun add @capgo/capacitor-autofill-save-password
bunx cap sync

bunx cap sync 플러그인의 원시 code을 원시 프로젝트에 복사합니다. 플러그인 업그레이드 후 다시 실행하세요.

Import

import { SavePassword } from '@capgo/capacitor-autofill-save-password';

API 한눈에

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

예시

promptDialog()

키 체인에 암호를 저장합니다.

import { SavePassword } from '@capgo/capacitor-autofill-save-password';

await SavePassword.promptDialog({
  username: 'your-username',
  password: 'your-password'
});

readPassword()

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

import { SavePassword } from '@capgo/capacitor-autofill-save-password';

const result = await SavePassword.readPassword();
// The result holds sensitive values: use it without logging it.

전체 참조

다음 단계는 @capgo/capacitor-autofill-save-password에서 계속합니다.

만약에 __CAPGO_KEEP_0__를 사용하고 있다면 @capgo/capacitor-autofill-save-password을 사용하여 인증 및 계정 흐름을 계획하고 @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-autofill-save-password을 연결합니다. @capgo/capacitor-autofill-save-password @capgo/capacitor-autofill-save-password 구현 세부 정보 Getting Started Getting Started 구현 세부 정보 @capgo/capacitor-social-login @capgo/capacitor-social-login 구현 세부 정보 @capgo/capacitor-passkey @capgo/capacitor-passkey 구현 세부 정보 @capgo/capacitor-passkey, 그리고 @capgo/capacitor-native-biometric

FAQ

Autofill Save Password 플러그인 FAQ

Capacitor Autofill Save Password 플러그인을 Capacitor 앱에 설치하는 방법은?

Run "bun add @capgo/capacitor-autofill-save-password" (or "npm install @capgo/capacitor-autofill-save-password"), then run "bunx cap sync" so the iOS and Android projects pick up the native code. Import it from "@capgo/capacitor-autofill-save-password" in your app code.

@capgo/capacitor-autofill-save-password는 React, Vue 및 Angular와 함께 작동합니까?

Yes. Autofill Save Password is a Capacitor package, so it works with any web framework that runs inside Capacitor, including Ionic, React, Vue, Angular, Svelte and plain JavaScript.

Which Capacitor version does @capgo/capacitor-autofill-save-password support?

Capgo plugins follow Capacitor's major version: use the plugin major version that matches your Capacitor major version (for example plugin v8 with Capacitor 8). The compatibility table in the GitHub README lists the maintained versions.

Is @capgo/capacitor-autofill-save-password free and open source?

Yes. The source code is public on GitHub at https://github.com/Cap-go/capacitor-autofill-save-password/ and the package is free to install from npm. Bug reports and pull requests are welcome.

애플리케이션 스토어 리뷰 없이 Autofill Save Password를 사용하는 code를 업데이트 할 수 있나요?

Installing or upgrading the plugin changes native code, so it needs a new store build. After that, JavaScript, HTML and CSS changes that call the plugin can ship instantly with Capgo live updates.

앱 리뷰 기다리지 않고 Autofill Save Password 변경을 배포하세요.

플러그인을 스토어 빌드에 추가한 후 Capgo 라이브 업데이트 기능을 사용하면, 사용자에게 JavaScript, HTML 및 CSS 변경을 몇 분만에 푸시할 수 있습니다.

Capgo