FeatureFlagValidation

Functions

Link copied to clipboard
fun checkValidKey(feature: Feature, key: String)

Validates the feature flags's hashing "key". Most implementation technically support arbitrary strings, but we still prefer to restrict valid input to prevent accidentally passing in the wrong value or potentially sensitive information.