ApiService class
Methods
downloadLogo (String logoUrl )
→ Future <LogoDownloadApiResponse ? >
fetchConsentAuditLogs ({required int dataPrincipalId , required String languageId , required int page })
→ Future <ConsentAuditPageResult ? >
fetchDashboardData ({required List <Map <String , dynamic > > subjectIdentityValues , required String languageCode })
→ Future <DashboardResponse ? >
fetchLanguages ()
→ Future <List <Language > ? >
fetchLoginConfig (dynamic pfId , dynamic customerId )
→ Future <LoginConfig ? >
fetchPublicKey ()
→ Future <void >
Performs the device-keypair handshake (consent-encryption-implementation.md,
"Confirmed real contract") if no session is cached yet. _encryptedPost
also self-heals this lazily, so calling it explicitly first only
affects log ordering.
getCallbackApiResponse (String code , String state )
→ Future <CallBackData ? >
getConsentFlow ({required List <Map <String , dynamic > > subjectIdentityValues })
→ Future <List <ConsentRecord > >
getCustomerAndPreferenceId (String ? customerId , String ? pfId , String ? pfToken , [String ? token ])
→ Future <DecrypterApiResponse ? >
getDigiLockerResponse (String token )
→ Future <DigiLockerResponseModel ? >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveDashboardPreferences (Map <String , dynamic > payload )
→ Future <bool >
sendOtp (List <Map <String , dynamic > > subjectIdentityValues )
→ Future <SendOtpResponse ? >
setAuthToken (String ? token )
→ void
setBaseUrl (String baseUrl )
→ void
setLogoShownThroughBaseUrl (bool ? value )
→ void
toString ()
→ String
A string representation of this object.
inherited
verifyOtp (String otp , List <Map <String , dynamic > > subjectIdentityValues )
→ Future <VerifyOtpResponse ? >
go_trust_mobile_sdk 1.1.1+9