# Interface: GetUserInfoRes

GetUserInfoRes()

# Properties

# cloudID

cloudID: string

敏感数据对应的云 ID,开通云开发的小程序才会返回,可通过云调用直接获取开放数据,详细见{@link 云调用直接获取开放数据 (opens new window)}

todo update the doc link above

Returns: string


# encryptedData

encryptedData: string

包括敏感数据在内的完整用户信息的加密数据,详见 {@link 用户数据的签名验证和加解密 (opens new window)}

todo update the doc link above

Returns: string


# errMsg

errMsg: string

Inherited from MogsRes.errMsg

API 调用成功/失败的消息

Returns: string


# iv

iv: string

加密算法的初始向量,详见 {@link 用户数据的签名验证和加解密 (opens new window)}

todo update the doc link above

Returns: string


# rawData

rawData: string

不包括敏感信息的原始数据字符串,用于计算签名

Returns: string


# signature

signature: string

使用 sha1( rawData + sessionkey ) 得到字符串,用于校验用户信息,详见 {@link 用户数据的签名验证和加解密 (opens new window)}

todo update the doc link above

Returns: string


# userInfo

userInfo: UserInfo

用户信息对象,不包含 openid 等敏感信息

Returns: UserInfo