メインコンテンツにジャンプ

Getting Started

GitHub
ターミナル画面
bun add @capgo/capacitor-autofill-save-password
bunx cap sync
import { SavePassword } from '@capgo/capacitor-autofill-save-password';

セクションのタイトル “promptDialog”

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

readPassword

コピー

セクションのタイトル “readPassword”

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;
}
export interface ReadPasswordResult {
/**
* The username of the password.
*/
username: string;
/**
* The password of the password.
*/
password: string;
}

このページはプラグインの src/definitions.tsAPIがアップストリームで変更された場合に、パブリックの再同期を行うようにしてください。

Getting Startedから続けてください

セクション「Getting Startedから続けてください」

あなたが Getting Started を使用して認証とアカウントフローの計画を行っている場合、接続してください。 native capability in @capgo/capacitor-autofill-save-password を使用します。 native capability in Using @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 の実装詳細 2要素認証 2要素認証の実装詳細