Web authentication now uses OIDC Authorization Code flow with PKCE instead of NPM forward auth. Added callback route and web utilities. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
478 B
Dart
18 lines
478 B
Dart
/// Stub for non-web platforms.
|
|
library;
|
|
|
|
/// Redirect to a URL (no-op on non-web).
|
|
void redirectTo(String url) {
|
|
throw UnsupportedError('redirectTo is only supported on web');
|
|
}
|
|
|
|
/// Get current URL (no-op on non-web).
|
|
String getCurrentUrl() {
|
|
throw UnsupportedError('getCurrentUrl is only supported on web');
|
|
}
|
|
|
|
/// Replace current URL without navigation (no-op on non-web).
|
|
void replaceUrl(String url) {
|
|
throw UnsupportedError('replaceUrl is only supported on web');
|
|
}
|