android-components / mozilla.components.feature.customtabs.verify / OriginVerifier / verifyOrigin

verifyOrigin

suspend fun verifyOrigin(origin: <ERROR CLASS>): <ERROR CLASS> (source)

Verify the claimed origin for the cached package name asynchronously. This will end up making a network request for non-cached origins with a HTTP Client.

Parameters

origin - The postMessage origin the application is claiming to have. Can’t be null.