Requester

data class Requester(val certChain: X509CertChain? = null, val appId: String? = null, val origin: String? = null)

Details about the entity requesting data.

Constructors

Link copied to clipboard
constructor(certChain: X509CertChain? = null, appId: String? = null, origin: String? = null)

Properties

Link copied to clipboard
val appId: String? = null

if this is a request from a local application, this contains the app identifier for example com.example.app on Android or <teamId>.<bundleId> on iOS.

Link copied to clipboard

if the requester signed the request and provided a certificate chain.

Link copied to clipboard
val origin: String? = null

the origin of the requester, if known. If this calling application is a trusted web browser this may be a website origin such as https://www.example.com. Otherwise this is set to the origin for the native application, for example on Android this will be of the form "android:apk-key-hash:".