ASAPPUser

class ASAPPUser(val identifier: String?, val requestContextProvider: ASAPPRequestContextProvider? = null)

An ASAPPUser is used for identifying the ASAPP Chat user.

Parameters

identifier

This should be a unique String identifier (i.e. email, phone, userId etc) for a known (authenticated) user, or null for an anonymous user.

requestContextProvider

The requestContextProvider is called before every user-related API request. It can provide information like authentication tokens, credentials or other data previously agreed upon with ASAPP. See ASAPPRequestContextProvider for samples.

Constructors

Link copied to clipboard
constructor(identifier: String?, requestContextProvider: ASAPPRequestContextProvider? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String