Used Push Message Extras
During the Mobile Token authentication and authorization, PowerAuth Web Flow may send following push messages to the Mobile Token app:
messageType
(required) - message type, one of the following values:mtoken.operationInit
- in case new operation was triggerredmtoken.operationFinished
- in case operation was finished, successfully or non-successfully
mtokenOperationResult
(required only in case of a finished operation,messageType
=mtoken.operationFinished
, otherwise ignored) - this key contains more information about the operation finish result, namely one of the following values:authentication.success
- operation was successfully confirmedauthentication.fail
- operation failed to confirmoperation.timeout
- operation expiredoperation.canceled
- operation was cancelled by the useroperation.methodNotAvailable
- (rare) mToken authentication method was removed from the user
operationId
(required) - operation ID, in UUID formatoperationName
(required) - operation name, for example “login” or “authorize_payment”
Please note that push notifications work on “best effort” principle and therefore, application must not rely on them. It can use the notification for example to deliver more prompt response on events in desktop web browser.
Last updated on Nov 25, 2020 (17:44)
Edit on Github
Send Feedback