View as Markdown

SDK reference · Verifiers

AuthorityOf

AuthorityOf in go.provenanceauth.com/verify (Go), Verifiers. AuthorityOf is the @authority value: the lowercased host, with the port only when it isn't the scheme's default.

Signature

provenanceverify.AuthorityOf(u *url.URL) string

Parameters

u*url.URLRequired

Returns

string

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.