oidc_platform_interface library

Classes

NoOpOidcPlatform
an implementation of OidcPlatform that throws UnimplementedError.
OidcAndroidHostApi
Android Custom Tabs / Auth Tab host API (implemented by oidc_android).
OidcAppleHostApi
iOS / macOS ASWebAuthenticationSession host API (implemented by oidc_darwin; only one Apple platform is active at runtime, so iOS and macOS share the API channel name).
OidcBrowserFlowCancelledEvent
The user dismissed the browser (typed + catchable).
OidcBrowserFlowFailedEvent
The native flow failed with a structured error.
OidcBrowserNativeWarningEvent
A non-fatal native warning (e.g. an unsupported option was ignored).
OidcBrowserOpenedEvent
The native browser was presented.
OidcBrowserOpeningEvent
The native browser is about to be presented.
OidcBrowserRedirectReceivedEvent
A redirect was received and matched. Deliberately redacted — it carries no raw URI (to avoid leaking code/state/tokens to logs) but exposes enough to debug a redirect-match failure.
OidcNativeBrowserEvent
Base type for native browser-layer events. An OidcEvent, so it flows through OidcUserManager.events(). Sealed so a Dart switch is exhaustive.
OidcNativeChannels
Domain-prefixed platform-channel names for the legacy hand-rolled MethodChannel transport.
OidcNativeError
A structured native error preserving the original platform detail.
OidcNativeErrorCodes
Error codes returned by the native plugins via Pigeon PigeonError / FlutterError (surfaced Dart-side as a PlatformException.code).
OidcNativeMethods
Logical method names for the native browser primitive.
OidcPlatform
The interface that implementations of oidc must implement.

Enums

OidcNativeErrorKind
Typed bucket for a native failure.
OidcNativeSessionType
Whether the native session was a standard or ephemeral (incognito) one.
OidcRedirectCaptureMode
How the redirect was captured.

Functions

streamNativeEvents({String instanceName = ''}) Stream<Map>
Native browser observability event stream. The native side streams event maps (parsed Dart-side via OidcNativeBrowserEvent.fromMap). Only one platform is active at a time, so a single event channel is unambiguous.