AuthUaePass class
Properties
config
→ UaePassConfig ?
Optional configuration for UAE Pass service.
If provided, methods like signInWithProfile will use these credentials.
final
hashCode
→ int
The hash code for this object.
no setter inherited
onEvent
→ void Function(UaePassEvent event ) ?
Optional callback to listen for SDK events (analytics, haptics, etc.).
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
authenticate (BuildContext context , {required UaePassAuthRequest request , void onEvent (UaePassEvent )? })
→ Future <UaePassAuthResult >
authenticateWithResumption (BuildContext context , {required Uri deepLink , required UaePassAuthRequest originalRequest })
→ Future <UaePassAuthResult >
Use this when the app is restarted via a deep link (cold start) or when
the main flow was interrupted. It extracts the nested URL and opens a
new WebView to complete the authentication.
getAccessToken ({required UaePassAccessTokenRequest request })
→ Future <UaePassUserToken ? >
getUserProfile ({required UaePassUserProfileRequest request })
→ Future <UaePassUserProfile ? >
GET userInfoUrl with Authorization: Bearer <access_token> (client or validated token).
introspectToken ({required UaePassIntrospectRequest request })
→ Future <UaePassIntrospectResult ? >
Verifies an access token via idhub introspect using Basic auth (SP credentials).
isAppInstalled ([UaePassEnvironment ? environment ])
→ Future <bool >
Probes whether the UAE PASS app is installed on this device.
listenToDeepLinks ({required BuildContext context , required UaePassAuthRequest defaultRequest , required void onResult (UaePassAuthResult ), bool autoResumeOnColdStart = false })
→ StreamSubscription <Uri > ?
logout (BuildContext context , {UaePassEnvironment ? environment , String ? redirectUri , UaePassConfig ? configOverride })
→ Future <UaePassAuthResult >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signIn (BuildContext context , {required UaePassAuthRequest request })
→ Future <String ? >
signInWithProfile (BuildContext context , {String ? clientId , String ? clientSecret , String ? redirectUri , UaePassEnvironment ? environment , String ? uiLocale , String ? deepLinkScheme , String ? acrValues , List <String > cancelledUriPatterns = const <String>[] , UaePassConfig ? configOverride })
→ Future <UaePassAuthData >
A simplified high-level method to perform the full UAE PASS authentication flow.
toString ()
→ String
A string representation of this object.
inherited
upgradeToSOP3 (BuildContext context , {String ? clientId , String ? clientSecret , String ? redirectUri , UaePassEnvironment ? environment , String ? uiLocale , String ? deepLinkScheme })
→ Future <UaePassAuthData >
Specialized method to trigger a FaceID/Biometric upgrade flow.