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

套件詳情v4.0.0

oidc_core

一個包含 OpenId Connect 規範的模型和輔助工具的 Dart 套件。

AndroidiOSmacOSWindowsLinux
近 30 天下載
3.5萬
喜歡數
3
Pub 分數
135

安裝套件

flutter pub add oidc_core

套件介紹

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

oidc_core 是一個 Dart 套件,為在 Flutter 應用中實現 OpenID Connect (OIDC) 協定提供必要的模型與實用功能。它透過提供令牌、聲明與端點等 OIDC 實體的結構化表示,支援安全的身份驗證流程。此套件專為整合 Google、Auth0 或自訂 OIDC 伺服器等身分提供者之開發者設計,簡化了權杖處理、驗證與會話管理。該套件具備平台無關性,支援 Android、iOS、macOS、Windows 與 Linux,非常適合需要標準化身分驗證的跨平台應用。

適用情境

  • 與符合 OIDC 的身分提供者整合
  • 安全處理 ID 和存取權杖
  • 實現登入和登出流程
  • 驗證 JWT 聲明
  • 跨平台管理使用者會話

主要特色

  • OIDC 權杖和聲明的預定義模型
  • 用於 JWT 解碼和驗證的輔助工具
  • 對標準 OIDC 流程的支援
  • 跨平台相容性
  • 輕量且依賴最少

適合對象

  • Flutter 應用需要安全的身分驗證
  • 開發人員建構 OIDC 客戶端整合
  • 使用 OAuth2 和 OpenID Connect 的項目
  • 採用標準化身分協議的團隊

使用建議

  • 需要外部實現 HTTP 客戶端和儲存
  • 不是完整的認證SDK——補充其他套件
  • 需要手動處理狀態和重定向
  • 最佳搭配額外的 UI 或驗證流程套件使用

原始 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 🤖

所屬分類

依賴

依賴清單 11 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。