Login Response
Login Response

Login Response

This intent is sent from the Profile Client to the third-party application in response to a Login Request.

Prerequisites

  • The
    request_id
    and
    package
    parameters were received in the Login Request
    login_info
    parameter.
  • The minimum required Profile Client Android version is 2.0.21200.

Intent Definition

Name
Description
Action
com.zebra.dfs.ACTION_LOGIN_RESPONSE
Intent Type
broadcast
Extra 0
This extra
login_info_response
contains the login response information. This is a mandatory parameter.  See below for the payload definition. This extra may be or may not be encrypted.
Extra 0 - sent unencrypted
This extra specifies the JSON login information when not encrypted. This is an optional parameter.
                         Type
String
                         Name 
login_info_response
                         Value
String in JSON format
Extra 0 – sent encrypted
This extra specifies the JSON login information when encrypted. This is an optional parameter.
                         Type
Byte array
                         Name 
login_info_response
                         Value
See code snippet under Encryption/Decryption

login_info_response payload

The
login_info
parameter contains JSON formatted data with the following fields:
{ "user_name": "username", //mandatory "status": "LOGGED_IN" or “LOGGED_OUT” //mandatory }
The Profile Client encrypts the
login_info_response
payload if the client is configured with a
secret_key
. Otherwise, it is sent in the clear.