Interface CodeCandidate

Candidate verification code extracted from content

Export

Interface

CodeCandidate

Hierarchy

  • CodeCandidate

Properties

code: string

Extracted code value

Memberof

CodeCandidate

confidence: number

Relative confidence score from 0 to 1

Memberof

CodeCandidate

context?: string

Nearby text context useful for debugging extraction decisions

Memberof

CodeCandidate

Extraction strategy for verification codes. Unsupported strategies may fall back when allowFallback is true.

Memberof

CodeCandidate

source: string

Source fragment used for extraction, for example RAW_TEXT_PART or SMS_BODY

Memberof

CodeCandidate