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) stringParameters
u*url.URLRequired
Returns
string
HTTP operation
Runs locally, with no request to the API.