V2RestrictionsResponse

data class V2RestrictionsResponse(val androidKeyRestrictions: V2AndroidKeyRestrictionsResponse, val apiTargets: List<V2ApiTargetResponse>, val browserKeyRestrictions: V2BrowserKeyRestrictionsResponse, val iosKeyRestrictions: V2IosKeyRestrictionsResponse, val serverKeyRestrictions: V2ServerKeyRestrictionsResponse)

Describes the restrictions on the key.

Constructors

Link copied to clipboard
fun V2RestrictionsResponse(androidKeyRestrictions: V2AndroidKeyRestrictionsResponse, apiTargets: List<V2ApiTargetResponse>, browserKeyRestrictions: V2BrowserKeyRestrictionsResponse, iosKeyRestrictions: V2IosKeyRestrictionsResponse, serverKeyRestrictions: V2ServerKeyRestrictionsResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Android apps that are allowed to use the key.

Link copied to clipboard

A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.

Link copied to clipboard

The HTTP referrers (websites) that are allowed to use the key.

Link copied to clipboard

The iOS apps that are allowed to use the key.

Link copied to clipboard

The IP addresses of callers that are allowed to use the key.