AuthHeaderProvider

Generates the authentication header required to make requests to a running Mockzilla server. An instance pre-configured for the running server is available via com.apadmi.mockzilla.lib.models.MockzillaRuntimeParams.authHeaderProvider.

Types

Link copied to clipboard
data class Header(val key: String, val value: String)

An HTTP header represented as a key-value pair.

Functions

Link copied to clipboard

Generates a fresh authentication header. Each invocation may produce a new token value.