__CAPGO_KEEP_1__

はじめに

GitHub

AI-Assisted Setupを使用してプラグインをインストールできます。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.

Manual Setupを選択している場合は、以下のコマンドを実行してプラグインをインストールし、下記のプラットフォーム固有の手順に従ってください。

ターミナルウィンドウ
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';
const result = await SavePassword.readPassword();
// The result holds sensitive values: use it without logging it.

型参照

型参照
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.tsパブリックAPIがアップストリームで変更されたときに再度同期してください。

続けてGetting Started

「続けてGetting Started」

あなたが「Getting Started」を使用している場合 はじめに 認証とアカウントフローの計画に使用している場合 「@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の実装詳細については@capgo/capacitor-native-biometricを参照してください 2要素認証 Capgoの実装詳細については2要素認証を参照してください