SensitiveValue

class SensitiveValue @InternalWowApi constructor(val value: String, val level: SensitivityLevel)

A sensitive value as a MaskStrategy sees it: the raw value of a query result and the level its field declares. Fields may be added in a minor release: construct it with of; the constructor is internal to Wow. Masking does not depend on the caller, every caller seeing the same mask, so no caller is among its fields. A revealing read, which returns a DISPLAY value raw, does not ask the strategy for it at all.

Its toString names the level only, so a logged value never shows the raw one.

Constructors

Link copied to clipboard
constructor(value: String, level: SensitivityLevel)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String