halkyon/packages/halkyon_oidc_flutter/lib/halkyon_oidc_flutter.dart
Tizian 「ティツィアーン」 3cb2000927
feat(oidc): halkyon_oidc_flutter, the device's half of signing in with OpenID Connect (ADR 0023)
OidcBrowser opens the page of an attempt the server began (OidcStart),
waits until the browser comes back by an OidcReturn (the app's scheme,
a verified https address, or the loopback) and returns the provider's
code (OidcCode), its refusal (OidcDenied), or nothing when the person
closed the browser. It checks the returned state against the attempt's,
as the server never compares it; a wrong state, neither one code nor
one refusal, no browser or a failed way back are OidcCallbackExceptions.

halkyon_app's LoopbackWebAuth moves in with its tests, relicensed from
AGPL v3 to BSD-3-Clause by its author, the developer; GitHub's sign-in
keeps using it from there until it ends. The package is BSD-3-Clause,
publish_to: none, as the module (ADR 0023, D2, D3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-24 09:17:49 +02:00

12 lines
463 B
Dart

/// The device's half of signing in with OpenID Connect on halkyon_oidc:
/// the provider's page opened in the browser, the way back caught and
/// checked against the sign-in that began it.
library;
export 'package:halkyon_oidc_client/halkyon_oidc_client.dart'
show OidcRefusal, OidcRefusedException, OidcStart, UuidValue;
export 'src/loopback_web_auth.dart';
export 'src/oidc_browser.dart';
export 'src/oidc_callback.dart';
export 'src/oidc_return.dart';