pl.wendigo.chrome.domain.browser / GrantPermissionsRequest

GrantPermissionsRequest

data class GrantPermissionsRequest (source)

Represents request frame that can be used with Browser.grantPermissions method call.

Grant specific permissions to the given origin and reject all others.

Constructors

<init>

GrantPermissionsRequest(origin: String, permissions: List<PermissionType>, browserContextId: BrowserContextID? = null)

Represents request frame that can be used with Browser.grantPermissions method call.

Properties

browserContextId

val browserContextId: BrowserContextID?

BrowserContext to override permissions. When omitted, default browser context is used.

origin

val origin: String

permissions

val permissions: List<PermissionType>