Skip to content

はじめに

GitHub

CapgoのAIアシストセットアップを使用してプラグインをインストールできます。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';
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.ts. Cloudflare の API がアップストリームで変更されたら、再度 Sync を実行してください。

Getting Started から続けてください。

Getting Started から続けてください。

Capacitor を使用している場合 Getting Started 認証とアカウントフローの計画に使用している場合、Capacitor を接続してください。 Capacitor の @capgo/capacitor-autofill-save-password を使用して、native capability を実装してください。 Capacitor の @capgo/capacitor-autofill-save-password を使用して、native capability を実装してください。 Capacitor の @capgo/capacitor-social-login を使用して、implementation detail を実装してください。 Capacitor の @capgo/capacitor-social-login を使用して、implementation detail を実装してください。 Capacitor の @capgo/capacitor-passkey を使用して、implementation detail を実装してください。 Capacitor の @capgo/capacitor-passkey を使用して、implementation detail を実装してください。 @capgo/capacitor-native-biometric 実装詳細については @capgo/capacitor-native-biometric を参照してください。 2要素認証 2要素認証の実装詳細についてはこちらを参照してください。