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
- 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
- this key arrives only in case of a finished operation (messageType
=mtoken.operationFinished
) and it 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
- operation ID, in UUID formatoperationName
- 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 Jan 23, 2019 (19:02)
Edit on Github
Send Feedback