android-components / mozilla.components.feature.customtabs.verify / OriginVerifier / <init>

<init>

OriginVerifier(packageName: String, relation: Int, packageManager: <ERROR CLASS>, httpClient: Client, apiKey: String?)

Used to verify postMessage origin for a designated package name.

Uses Digital Asset Links to confirm that the given origin is associated with the package name. It caches any origin that has been verified during the current application lifecycle and reuses that without making any new network requests.