webAuth method

  1. @override
Future webAuth(
  1. Uri url, {
  2. String? callbackUrlScheme,
})
override

Handle OAuth2 session creation.

Implementation

@override
Future webAuth(Uri url, {String? callbackUrlScheme}) {
  return FlutterWebAuth2.authenticate(
    url: url.toString(),
    callbackUrlScheme: "appwrite-callback-" + config['project']!,
  );
}