ReadingSessionOptions

data class ReadingSessionOptions(val publicationToken: String? = null, val userToken: String)

This data is used to identify reading session using a combination of a user token and publication token. The values that should be used are dependent on your Product Commercial Agreement. This data should be anonymized in order to protect the user's privacy. This information will be sent to Colibrio License Server.

Constructors

Link copied to clipboard
fun ReadingSessionOptions(publicationToken: String? = null, userToken: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

A token unique for the publication. The value that should be used is dependent on your Product Commercial Agreement. This data should be anonymized in order to protect the user's privacy. If you don't specify this field, the framework will generate an obfuscated publicationToken for you based on the publication's hash signature.

Link copied to clipboard

A token unique for the user. The value that should be used is dependent on your Product Commercial Agreement. This data should be anonymized in order to protect the user's privacy.