FFXSystemGoogleSignInBrowser class

Construct in the sign-in button handler, before any await, so web popups retain the browser's user gesture. Native apps use the OS authentication browser and never an embedded WebView.

Implemented types

Constructors

FFXSystemGoogleSignInBrowser({required Uri redirectUri})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

authorize({required Uri authorizationUrl, required Uri redirectUri, required Future<void> abort}) → Future<Uri>
override
close() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

redirectUri({required Uri native, Uri? desktop}) → Uri
Choose the browser callback for this platform. Declare the returned URL in auth.providers.google.redirectUris. Native drip builds register its scheme.