UaePassKitWeb class
A web implementation of UaePassKitPlatform.
UAE Pass documents a materially different flow for web apps (a plain
full-page OAuth2 redirect against a real, reachable redirect_uri —
see docs.uaepass.ae/feature-guides/authentication/web-application)
than for mobile (the WebView-interception app-to-app dance this
package's UaePassKit.signIn implements). There is no native app to
detect on web, so this always reports false; web integrators should
drive the standard redirect flow directly using
UaePassEnvironment.endpoints and UaePassKit's token/profile calls,
which work unchanged on any platform.
- Inheritance
-
- Object
- PlatformInterface
- UaePassKitPlatform
- UaePassKitWeb
Constructors
- UaePassKitWeb()
- Constructs a UaePassKitWeb.
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
-
isUaePassAppInstalled(
{required String androidPackageId, required String iosUrlScheme}) → Future< bool> -
Returns whether the native UAE Pass app is installed on this device.
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
-
registerWith(
Registrar registrar) → void - Registers this implementation as the platform instance for web.