antinvestor_ui_auth 0.1.0 copy "antinvestor_ui_auth: ^0.1.0" to clipboard
antinvestor_ui_auth: ^0.1.0 copied to clipboard

Authentication UI library for Antinvestor. Browse login history, view session details, and monitor sign-in activity with embeddable widgets for profile screens.

antinvestor_ui_auth #

Embeddable authentication UI for Antinvestor applications. Provides widgets and screens for browsing login history, viewing session details, and monitoring sign-in activity.

Installation #

dependencies:
  antinvestor_ui_auth: ^0.1.0

Features #

  • Login History: Paginated log with filters by source, device, and date range
  • Event Details: Full detail view for individual login events
  • Embeddable Widgets: LoginHistoryWidget, DeviceActivityWidget, LoginEventTile
  • Routing: AuthRouteModule with GoRouter integration

Usage #

import 'package:antinvestor_ui_auth/antinvestor_ui_auth.dart';

// Drop login history into any profile detail screen
LoginHistoryWidget(profileId: 'user-123')

// Show login activity from a specific device
DeviceActivityWidget(deviceId: 'device-456')

// Register routes in your host app
final module = AuthRouteModule();
ShellRoute(
  routes: [...ownRoutes, ...module.buildRoutes()],
);

Routes #

Path Screen
/services/auth Login history with filters
/services/auth/:eventId Login event detail

Embedding in Profile Screens #

The primary use case is embedding LoginHistoryWidget alongside profile details:

Column(
  children: [
    ProfileHeader(profile: profile),
    const SizedBox(height: 16),
    LoginHistoryWidget(profileId: profile.id),
    const SizedBox(height: 16),
    ActorActivityWidget(profileId: profile.id), // from antinvestor_ui_audit
  ],
)
0
likes
130
points
57
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Authentication UI library for Antinvestor. Browse login history, view session details, and monitor sign-in activity with embeddable widgets for profile screens.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #ui #authentication #antinvestor #login-history

License

unknown (license)

Dependencies

antinvestor_api_authentication, antinvestor_api_common, antinvestor_ui_core, connectrpc, fixnum, flutter, flutter_riverpod, go_router, intl, protobuf

More

Packages that depend on antinvestor_ui_auth