Requester

data class Requester(val requesterIdentities: List<RequesterIdentity>, val appId: String? = null, val origin: String? = null)

Details about an entity requesting data.

Constructors

Link copied to clipboard
constructor(requesterIdentities: List<RequesterIdentity>, appId: String? = null, origin: String? = null)

Properties

Link copied to clipboard

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

Set to true if origin is a web origin.

Link copied to clipboard

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:". If empty it means that the requester is a website but the origin wasn't passed from the web browser.

Link copied to clipboard

list of identities that were used by the requestor (each corresponding to a request signature).