android-components / mozilla.components.feature.customtabs.feature / OriginVerifierFeature

OriginVerifierFeature

class OriginVerifierFeature (source)

Constructors

Name Summary
<init> OriginVerifierFeature(httpClient: Client, packageManager: <ERROR CLASS>, apiKey: String?, dispatch: (CustomTabsAction) -> Unit)

Functions

Name Summary
verify suspend fun verify(state: CustomTabState, token: CustomTabsSessionToken, relation: Int, origin: <ERROR CLASS>): Boolean

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.