Consumer

data class Consumer(val platform: Platform.Type, val appId: String, val fingerprint: String? = null, val alg: String = DEFAULT_ALG)

Constructors

Link copied to clipboard
constructor(platform: Platform.Type, appId: String, fingerprint: String? = null, alg: String = DEFAULT_ALG)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val alg: String

Use with fingerprint, can be "SHA-256" or "SHA-1"

Link copied to clipboard

Android: provide app package id, eg: com.example.myapp iOS: provide app bundle id eg: com.example.myapp Web: provide origin domain, eg: myapp.example.com

Link copied to clipboard
val fingerprint: String? = null

This will be android's singing fingerprint

Link copied to clipboard
val platform: Platform.Type