authenticate static method
OAuth / SSO: opens url and returns the redirect to callbackScheme, null if cancelled. Android/desktop custom schemes: dart run u:app deep-link myapp. await ULaunch.authenticate(authUrl, callbackScheme: "myapp")
Implementation
static Future<Uri?> authenticate(String url, {required String callbackScheme, bool ephemeral = false, Duration timeout = const Duration(minutes: 5)}) =>
ULaunchChannel.authenticate(url, callbackScheme: callbackScheme, ephemeral: ephemeral, timeout: timeout);