Pending Operations
Pending Operations are actions that require user interaction like a decision to accept or reject.
Client requirements
Fetch Pending Operations
Fetching pending operations will return all the non-decided/non-expired Operations for all the profiles associates do the current device
- iOS (Swift)
- Android (Java)
trustFactorClient.fetchPendingOperations() { result, correlationId in
// handle result
}
trustFactorClient.fetchPendingOperations((result) -> result.fold(
(List<TFOperation> operations, String correlationId) -> {
// handle success
},
(Error error, String correlationId) -> {
// handle error
}
));
Get Operation details
- iOS (Swift)
- Android (Java)
trustFactorClient.getOperationDetails(for: <TFOperation.ID>, applicationProfileId: <TFApplicationProfile.ID>) { result, correlationId in
// handle result
}
trustFactorClient.getOperationDetails(operationId, profileId, (result) -> result.fold(
(TFOperation operation, String correlationId) -> {
// handle success
},
(Error error, String correlationId) -> {
// handle error
}
));