패키지, 저장소 및 앱 카테고리 검색

패키지 상세v6.0.1

magic_sdk

이것은 iOS 또는 Android 기반의 Flutter 앱을 위한 안전하고 비밀번호 없는 인증에 대한 진입점입니다.

30일 다운로드
98
좋아요
23
Pub 점수
105

패키지 설치

flutter pub add magic_sdk

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Magic SDK는 iOS 및 Android 앱을 위한 안전하고 비밀번호 없는 인증을 가능하게 하는 Flutter 패키지입니다. 이메일 또는 소셜 계정을 통해 비밀번호 없이 로그인할 수 있으며, 블록체인 기반의 신원 검증을 활용하여 사용자 등록 프로세스를 간소화합니다. Web3 애플리케이션을 위해 설계되었으며, 탈중앙화된 신원 시스템과 원활하게 통합됩니다. SDK는 인증 흐름, 토큰 관리 및 보안 세션 처리를 담당하며 개발 부담을 줄입니다. 사용자 경험과 현대적인 보안 실천을 중시하는 앱에 적합합니다.

사용 사례

  • 모바일 앱에서의 비밀번호 없는 로그인
  • 웹3 및 블록체인 기반 신원
  • 비밀번호 없이 안전한 사용자 인증
  • 탈중앙화된 신원 통합
  • 새 사용자를 위한 간소화된 온보딩

주요 기능

  • 비밀번호 없는 로그인
  • 블록체인 기반 신원
  • 이메일 및 소셜 로그인 옵션
  • 보안 토큰 관리
  • 무결점 플러터 통합

적합한 대상

  • 모바일 앱 개발자
  • 웹3 및 암호화 프로젝트
  • 강력한 보안이 필요한 앱
  • UX에 중점을 둔 스타트업
  • 비밀번호 저장을 피하는 개발자

고려 사항

  • 인터넷 연결이 필요합니다
  • Magic.link 백엔드 서비스에 의존합니다
  • iOS 및 안드로이드 플랫폼에 제한됨
  • 사용자 지정 인증 흐름을 위해 추가 설정이 필요할 수 있습니다
  • 오프라인 우선 애플리케이션에 적합하지 않습니다

원본 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.