FlutterWebAuth2CallbackRoute constructor
FlutterWebAuth2CallbackRoute({
- String? host,
Creates a FlutterWebAuth2CallbackRoute.
The optional host restricts this route to requests whose Host header
matches the given value. Defaults to null, which matches any host.
Set host to the domain that serves your Flutter web app to ensure the
callback is only reachable from the correct origin.
Implementation
FlutterWebAuth2CallbackRoute({super.host}) : super(methods: {Method.get});