WMTOperations class
Operations networking layer for Wultra Mobile Token API.
Constructors
- WMTOperations(PowerAuth powerAuth, String baseUrl)
- Constructor that initializes the operations networking layer.
Properties
- acceptLanguage ↔ String
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- powerAuth → PowerAuth
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userAgent ↔ WMTUserAgent
-
getter/setter pairinherited
Methods
- Authorize operation with given PowerAuth authentication object.
- Sign offline QR operation with provided authentication.
-
claim(
String operationId, {WMTRequestProcessor? requestProcessor}) → Future< WMTUserOperation> - Assigns the 'non-personalized' operation to the user.
-
getDetail(
String operationId, {WMTRequestProcessor? requestProcessor}) → Future< WMTUserOperation> - Retrieves operation detail based on operation ID.
-
getHistory(
PowerAuthAuthentication authentication, {WMTRequestProcessor? requestProcessor}) → Future< List< WMTUserOperation> > - Retrieves the history of user operations with their current status.
-
getOperations(
{WMTRequestProcessor? requestProcessor}) → Future< List< WMTUserOperation> > - Retrieves user operations that are pending for approval or rejection.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reject(
String operationId, WMTRejectionReason reason, {WMTRequestProcessor? requestProcessor}) → Future< void> - Reject operation with a reason.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited