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

패키지 상세v5.1.0

credential_manager

자격 증명 관리자 플러그인. 한 번의 클릭으로 로그인 기능을 제공하며, 안드로이드에서는 사용자의 Google 계정에, iOS에서는 키체인에 자격 증명을 저장합니다.

AndroidiOS
30일 다운로드
4.1천
좋아요
37
Pub 점수
160

패키지 설치

flutter pub add credential_manager

패키지 개요

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

credential_manager 패키지는 안드로이드의 Google 계정과 iOS의 Keychain을 통해 디바이스의 네이티브 인증 시스템을 활용하여 사용자 자격 증명을 안전하게 저장하고 검색함으로써 원터치 로그인을 가능하게 합니다. 플랫폼별 보안 스토리지 기능을 활용해 인증 흐름을 간소화하고 로그인 시 번거로움을 줄입니다. 개발자는 자격 증명 저장을 수동으로 관리하지 않고도 원활하고 안전한 로그인 경험을 통합할 수 있습니다. 이 플러그인은 최소한의 사용자 입력으로 빠르고 안전한 접근이 필요한 앱에 적합합니다.

사용 사례

  • 원터치 로그인 구현
  • 보안 자격 증명 저장
  • 크로스 플랫폼 인증
  • 간편한 사용자 온보딩
  • 비밀번호 없는 로그인 워크플로우

주요 기능

  • Google 계정(안드로이드)과 통합
  • 키체인 사용(iOS)
  • 보안 자격 증명 관리
  • 원터치 로그인 지원
  • 플랫폼 네이티브 보안

적합한 대상

  • 빠른 로그인을 필요로 하는 앱
  • 보안을 우선시하는 개발자
  • 크로스 플랫폼 인증 솔루션
  • 사용자 친화적인 온보딩
  • 인증 중심 앱

고려 사항

  • 플랫폼별 설정이 필요합니다
  • Android 및 iOS에 한정
  • 사용자가 Google 계정을 보유하고 있어야 함(안드로이드)
  • 웹 또는 데스크톱용으로 적합하지 않습니다
  • 추가 권한이 필요할 수 있습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Credential Manager

Android iOS Web

Credential Manager is a Jetpack API that supports multiple sign-in methods, such as username and password, passkeys, and federated sign-in solutions (like Sign-in with Google) in a single API, simplifying integration for developers on Android. For iOS, it uses Keychain for storing credentials. On Web, it uses WebAuthn, the Credential Management API, and Google Identity Services (backed by FedCM).

For users, Credential Manager unifies the sign-in interface across authentication methods, making it clearer and easier to sign into apps, regardless of the chosen method.

For iOS, it uses Keychain and Autofill. On Web, see credential_manager_web for setup, including the required <script> tag in web/index.html.

For more information, please refer to the official documentation.

Getting Started

Add the dependency to your pubspec.yaml file:

credential_manager: <latest_version>

Or run:

flutter pub add credential_manager

Documentation

For comprehensive guides and detailed documentation, please visit our Documentation Page. Here you will find everything you need to get started, including API references, usage examples, and best practices for integrating Credential Manager into your application.

Credential Flow Previews

Android Credential Manager iOS Passkey Sheet
Credential Manager UI Apple Passkey UI

Heads-up: The screenshots above come directly from the official Android and Apple design resources. The bundled example application recreates similar flows but may look slightly different depending on your theme, device, or customizations.

Development Workflow

We rely on pre-commit to guarantee formatting and analyzer checks run before every commit.

pip3 install --user pre-commit   # first time only
python3 -m pre_commit install    # installs the git hook
# (optional) run on the entire repo once
python3 -m pre_commit run --all-files

The configured hooks will:

  • Format every staged Dart file using dart format.
  • Format docSite sources with Prettier.
  • Run flutter analyze across all packages (including the example app); commits are blocked if any analyzer error occurs.

Support the Project

If you find this library useful and would like to support its development, consider buying me a coffee:

☕ Buy Me a Coffee

Looking for Maintainers

We are looking for maintainers to help us keep this library up-to-date and implement new features. If you are interested in contributing, please reach out via GitHub or open an issue. Your help would be greatly appreciated!

Contributors

Thanks to all the contributors who have helped make this library better!

Contributors

카테고리

의존성

의존성 목록 4 개

  • credential_manager_android^4.1.0
  • credential_manager_ios^4.0.0
  • credential_manager_platform_interface^4.0.0
  • credential_manager_web^2.3.0

소스 저장소

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

아직 데이터가 없습니다.