PurchaseToken

The account id to pass when starting a Google Play purchase (BillingFlowParams.setObfuscatedAccountId), so Play's notifications reach the right customer in Hatang. A UUID v5 of your user id within the site: the same value the server and the other SDKs compute.

Functions

Link copied to clipboard
fun make(siteId: String, userId: String): String

The token for one of your users on a site (lower-case UUID string).

Link copied to clipboard
fun uuidv5(name: String, namespace: UUID): UUID

RFC 4122 UUID version 5 (SHA-1, name-based).