get_user_hash


Description:

public unowned string get_user_hash ()

Get the (salted) hash value used to identify the current user to the reviews service, generating it if necessary.

The hash is used so the user can only vote once on each application, and so their own reviews can be identified. It can not easily be traced back to an individual user.

Parameters:

this

an ReviewsClient instance.

Returns:

the user hash, or null if none could be generated.