搜尋套件、儲存庫與 APP 分類

套件詳情v5.0.2

oidc

一個功能完整的 OpenIdConnect 插件,可在所有平台(android、ios、windows、linux、web、macos)上運行

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
3.2萬
喜歡數
51
Pub 分數
155

安裝套件

flutter pub add oidc

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

oidc 套件是一個為 Flutter 應用程式設計的完整 OpenID Connect 插件,提供 Android、iOS、Web、macOS、Windows 和 Linux 的跨平台驗證支援。它能使用 OpenID Connect 協定實現安全的使用者驗證,簡化與身分提供者的整合。此套件可順暢處理權杖管理、會話管理與授權流程,確保在各平台上的行為一致。以開發者體驗為設計核心,支援現代驗證工作流程(如 PKCE),並提供明確的 API 供自訂。

適用情境

  • 使用身分提供者的安全登入
  • 跨平台身分驗證
  • 單點登入實現
  • 使用者會話管理
  • 與 OAuth2/OIDC 伺服器整合
  • Web 和移動應用驗證

主要特色

  • 完整的平台支援(Android、iOS、Web、macOS、Windows、Linux)
  • 內建 PKCE 支援
  • 權杖刷新和存儲管理
  • 與 OIDC 提供商輕鬆整合
  • 跨平台的一致性 API
  • 安全憑證處理

適合對象

  • 需要安全認證的Flutter應用
  • 開發跨平台應用的開發者
  • 使用 OpenID Connect 或 OAuth2 的項目
  • 與企業身分提供者整合的團隊
  • 需要 SSO 功能的應用程式

使用建議

  • 需要正確配置 OIDC 提供者
  • 可能需要為自定義網域或範圍進行額外設定
  • 取決於底層平台的網頁檢視器或原生驗證流程
  • 不適用於非OIDC認證系統
  • 僅限基於 OAuth2/OIDC 的身分提供者

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

oidc

openid certification

melos codecov style: very good analysis License: MIT

The most comprehensive OpenIdConnect package for dart.

This is a Mono repo of multiple packages:

  • oidc_core: The main dart package, it implements the basic openid/oauth specification, except the platform specific parts (like redirection)
  • oidc: builds on top of oidc_core, and adds platform-specific parts, this also contains the UserManager class.
  • oidc_default_store: the default OidcStore store implementation.
  • oidc_cli: a provider-agnostic CLI for authenticating against an OIDC provider.

Make sure you read the Static Badge for extra information.

Code Coverage graph

coverage_graph


Generated by the Very Good CLI 🤖

所屬分類

依賴

依賴清單 8 項

  • jose_plus^1.0.1
  • oidc_android^3.0.1
  • oidc_core^4.0.0
  • oidc_darwin^1.1.3
  • oidc_linux^1.0.4
  • oidc_platform_interface^1.0.4
  • oidc_web^1.0.5
  • oidc_windows^1.0.4

原始碼儲存庫

使用此套件的專案