SecurityValues

data class SecurityValues(val queryParams: Map<String, Any> = emptyMap(), val headers: List<KeyValuePair<String, Any>> = emptyList(), val cookie: List<KeyValuePair<String, Any>> = emptyList(), val other: Map<String, Any> = emptyMap())

Represents security-related values used in a request.

Values are separated from regular params/headers to keep provenance and allow auth rules to reason about security material independently.

Constructors

Link copied to clipboard
constructor(queryParams: Map<String, Any> = emptyMap(), headers: List<KeyValuePair<String, Any>> = emptyList(), cookie: List<KeyValuePair<String, Any>> = emptyList(), other: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard

Cookies represented as a list of ordered key-value pairs.

Link copied to clipboard

HTTP headers represented as a list of ordered key-value pairs.

Link copied to clipboard

Additional security-related attributes for extensions.

Link copied to clipboard

Query parameters as a map of names to values.