KoderAuthGate

Ratified Auth koder-app/behaviors.kmd §1

Wraps a screen so it only renders when the user is signed in; otherwise routes to the sign-in flow with a return-to URL.

Demo

Static visual mock — pixel-faithful but non-interactive. Sprint 2.3 will swap selected demos for live Flutter Web embeds.

Sign in to continue

This screen is only available to authenticated users. After signing in you will return here automatically.

Sign in with Koder ID

KoderAuthGate intercepts the route, shows the sign-in CTA, and forwards back to the original destination once auth completes.

Availability

Flutter (koder_kit)
koder_kit v0.5.0+

Flutter usage

import 'package:koder_kit/koder_kit.dart';
KoderAuthGate(
  child: HomeScreen(),
  onUnauthenticated: () => SignInScreen(),
)

Related in the same group