パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v6.0.1

magic_sdk

これは、iOS または Android ベースの Flutter アプリ向けの安全でパスワード不要な認証へのエントリーポイントです。

30日間ダウンロード
98
いいね数
23
Pub ポイント
105

パッケージをインストール

flutter pub add magic_sdk

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Magic SDKは、iOSおよびAndroidアプリ向けの安全でパスワード不要な認証を可能にするFlutterパッケージです。メールアドレスまたはソーシャルアカウントを通じてパスワードなしでログインでき、ブロックチェーン基盤の本人確認機能を活用してユーザーのオンボーディングを簡素化します。Web3アプリ専用に設計されており、分散型IDシステムとシームレスに統合されます。SDKは認証フロー、トークン管理、セキュアなセッション処理を担当し、開発のオーバーヘッドを軽減します。ユーザー体験と現代的なセキュリティ実践を重視するアプリに最適です。

用途

  • モバイルアプリにおけるパスワードレスログイン
  • Web3およびブロックチェーンベースのアイデンティティ
  • パスワードなしの安全なユーザー認証
  • 分散型IDの統合
  • 新規ユーザー向けのスムーズなオンボーディング

主な機能

  • パスワードレスサインイン
  • ブロックチェーンを基盤とした本人確認
  • メールおよびソーシャルログインオプション
  • セキュアなトークン管理
  • スムーズな Flutter 統合

適している対象

  • モバイルアプリ開発者
  • Web3および暗号プロジェクト
  • 強力なセキュリティを必要とするアプリ
  • UXに焦点を当てるスタートアップ
  • パスワードの保存を避ける開発者

注意事項

  • インターネット接続が必要です
  • Magic.link バックエンドサービスに依存しています
  • iOSおよびAndroidプラットフォームに限定
  • カスタム認証フローのための追加設定が必要になる場合があります
  • オフライン優先のアプリケーションには適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

We have decided to temporarily archive this repository and place it into maintenance mode. This decision allows us to focus our efforts and resources on advancing our core product line. During this period, active development and the addition of new features will be paused. We value the contributions of the community and appreciate your understanding as we prioritize our main projects. We look forward to resuming development in the future and will keep you updated on any changes.

magic-flutter

Magic empowers developers to protect their users via an innovative, passwordless authentication flow without the UX compromises that burden traditional OAuth implementations.

⚠️ Device Registration Requirement ⚠️

As of v4.1.0, users will be asked to go through a device registration flow to securely confirm any new device they use to login. If you run into this issue, please consider upgrading to the latest version of the SDK.

Get started

Install Flutter & Dart https://flutter.dev/docs/get-started/install

Start the project

$ cd project_root/magic_demo
$ flutter run

Dependency installation is automatically done in the flutter run command

For detail integration please check our official doc or README in each package directory

Package Name Changelog Description
magic_sdk CHANGELOG Flutter entry-point for Magic SDK.
magic_ext_oauth CHANGELOG An Extension to access OAuth providers
magic_ext_tezos CHANGELOG Tezos blockchain extension that integrates with Tezart
magic_ext_solana CHANGELOG Solana blockchain extension that integrates with crypto-please/solana
magic_ext_oidc CHANGELOG Magic Open Id Connect SDK extension for Flutter
Blockchain access

Make sure you have the third-party blockchain dependencies installed

  • Tezos via Tezart
  • Solana via Crypto-please/solana

You may remove these dependencies if you don't need to access these chains

Development Caveats

Files ending with *.g.dart are auto generated type files that are used to serialize / deserialize a class. To generate a new sets of files to reflect your changes please run the command below at your/path/to/magic_sdk

$ dart run build_runner build --delete-conflicting-outputs
Proguard rules

Relates to issue #43.

Add a proguard-rules.pro file under your android/app folder (or update your existing one), with the following rule:

# Preserve annotated Javascript interface methods.
-keepclassmembers class * {
    @android.webkit.JavascriptInterface <methods>;
}

Example: Magic Flutter Demo App

カテゴリー

依存関係

依存関係一覧 10 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。