View as Markdown

SDK reference · Verifiers

Embed.CreateToken

Embed.CreateToken in go.provenanceauth.com/verify (Go), Verifiers. CreateToken calls POST /v1/embed/tokens: a session of up to 15 minutes for one widget and one object.

Signature

provenanceverify.Embed.CreateToken(ctx context.Context, p EmbedTokenParams) (EmbedToken, error)

Parameters

ctxcontext.ContextRequired
pEmbedTokenParamsRequired

Returns

(EmbedToken, error)

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.