# UserInfoButton.onTap(function callback)

Listens on the user information button tapping event.

# Parameters

# function callback

The callback function for the user information button tapping event.

# Parameters

# Object res
Property Type Description
userInfo UserInfo User information object, excluding openid and other sensitive information.
rawData string Raw data string that excludes sensitive information and is used to calculate signatures.
signature string String obtained through sha1 (rawData + sessionkey) and used to verify user information. For details, refer to signature.
encryptedData string The complete encrypted user data, including sensitive data. For details, see Decryption Algorithm for Encrypted Data.
iv string The initial vector of the encryption algorithm. For details, see Decryption Algorithm for Encrypted Data
点击咨询小助手