MCPcopy Create free account
hub / github.com/ampproject/amphtml / isTrustedViewer

Method isTrustedViewer

src/service/viewer-interface.js:122–122  ·  view source on GitHub ↗

* Whether the viewer has been allowlisted for more sensitive operations * such as customizing referrer. * @return {!Promise }

()

Source from the content-addressed store, hash-verified

120 * @return {!Promise<boolean>}
121 */
122 isTrustedViewer() {}
123
124 /**
125 * Returns the promise that resolves to URL representing the origin of the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected