View as Markdown

SDK reference · Rails

publicVerify

publicVerify in @provenanceauth/rails/checkout, Rails. An onlineStatus callback for the free, keyless POST /v1/verify.

Signature

publicVerify(baseUrl: string, opts?: { surface?: "page" | "embed" | "checkout" | "api"; fetch?: typeof fetch }): OnlineStatus

Parameters

baseUrlstringRequired
opts{ surface?: "page" | "embed" | "checkout" | "api"; fetch?: typeof fetch }

Returns

OnlineStatus

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.