oidc_core 0.9.1 copy "oidc_core: ^0.9.1" to clipboard
oidc_core: ^0.9.1 copied to clipboard

A dart package containing models and helpers for OpenId Connect spec.

oidc_core #

style: very good analysis License: MIT codecov Pub Version

An OpenId Connect RP (Relying Party) package for dart, which exposes basic models and functionality defined by the OIDC standard.

Make sure you read the Wiki for how to use this package.

Introduction #

This package only requires dart, and can be used in all platforms.

Since the OIDC specification requires interactions with the underlying platform (e.g. launching a browser, listening for redirect, etc...), this package can't be used by it self to implement the spec.

The full spec is implemented in package:oidc which depends on flutter.

Installation ๐Ÿ’ป #

โ— In order to start using this package you must have the Dart SDK installed on your machine.

Add to your pubspec.yaml:

dart pub add oidc_core
copied to clipboard

Running Tests ๐Ÿงช #

To run all unit tests:

dart pub global activate coverage 1.2.0
dart test --coverage=coverage
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info
copied to clipboard

To view the generated coverage report you can use lcov.

# Generate Coverage Report
genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
open coverage/index.html
copied to clipboard

Generated by the Very Good CLI ๐Ÿค–

1
likes
140
points
24.8k
downloads

Publisher

verified publisherbdaya-dev.com

Weekly Downloads

2024.09.14 - 2025.03.29

A dart package containing models and helpers for OpenId Connect spec.

Homepage
Repository (GitHub)

Topics

#oidc #openidconnect #oauth #authentication

Documentation

API reference

License

MIT (license)

Dependencies

clock, copy_with_extension, crypto, http, jose_plus, json_annotation, logging, meta, nonce, rxdart, uuid

More

Packages that depend on oidc_core