parseTapUrl(url: string, source?: string): TapResult
Example
const tap = parseTapUrl(url, "manual");
Parses a tap URL into the values the tap endpoint takes: the /verify/{chip_id}?e= and /u/{chip_id}?e= forms, or a tap-redirect destination on your own domain carrying endstate_chip_id, endstate_e and endstate_c query parameters.