ping-identity
    Preparing search index...

    Type Alias DaVinciValidation

    Server-provided validation rule attached to a validated field collector.

    The bridge maps the server regex to regex. Use DaVinciClient.validate to check a collector's current value on demand — it returns DaVinciFieldValidationError results directly.

    Native match semantics differ: Android (Regex.matches()) requires the pattern to match the entire value, while iOS (NSRegularExpression.firstMatch) accepts a match anywhere in the value. Anchor patterns (e.g. ^valid$) behave identically on both platforms. An unanchored pattern such as valid accepts invalid-value on iOS but rejects it on Android.

    type DaVinciValidation = {
        regex: string;
    }
    Index

    Properties

    Properties

    regex: string

    Regular expression pattern the server requires the value to satisfy.