Pakete, Repositories und App-Kategorien suchen

Paketdetailsv6.0.1

magic_sdk

Dies ist Ihr Einstiegspunkt für sichere, passwortlose Authentifizierung für Ihre iOS- oder Android-basierte Flutter-Anwendung.

30-Tage-Downloads
98
Likes
23
Pub-Punkte
105

Paket installieren

flutter pub add magic_sdk

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Das Magic SDK ist ein Flutter-Paket, das sichere, kennwortlose Authentifizierung für iOS- und Android-Apps ermöglicht. Es vereinfacht die Benutzeranmeldung durch Anmeldungen per E-Mail oder sozialen Konten ohne Passwörter unter Verwendung der Blockchain-gestützten Identitätsverifizierung. Für Web3-Anwendungen entwickelt, integriert es nahtlos mit dezentralen Identitätssystemen. Das SDK verwaltet Authentifizierungsabläufe, Token-Management und sichere Sitzungshandhabung und reduziert den Entwicklungsaufwand. Es ist ideal für Apps, die Benutzererfahrung und moderne Sicherheitspraktiken priorisieren.

Anwendungsfälle

  • Passwortloser Login in mobilen Apps
  • Web3 und blockchainbasierte Identität
  • Sichere Benutzerauthentifizierung ohne Passwörter
  • Dezentrale Identitätsintegration
  • Verfeinertes Onboarding für neue Benutzer

Hauptmerkmale

  • Passwortlose Anmeldung
  • Blockchain-basierte Identität
  • E-Mail- und Sozial-Login-Optionen
  • Sichere Token-Verwaltung
  • Nahtlose Flutter-Integration

Geeignet für

  • Mobile-App-Entwickler
  • Web3- und Kryptoprosjekte
  • Apps, die starke Sicherheit erfordern
  • Startups, die sich auf UX konzentrieren
  • Entwickler, die das Speichern von Passwörtern vermeiden

Hinweise

  • Benötigt Internetverbindung
  • Abhängig von den Backend-Diensten von Magic.link
  • Beschränkt auf die Plattformen iOS und Android
  • Kann zusätzliche Einrichtung für benutzerdefinierte Authentifizierungsflüsse erfordern
  • Nicht geeignet für Offline-zuerst-Anwendungen

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

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

Kategorien

Abhängigkeiten

Abhängigkeiten 10 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden

Noch keine Daten verfügbar.