Last updated:
0 purchases
oidc core
oidc_core #
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 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 ๐ค
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.