類別:NonceLoader

建構函式

NonceLoader

new NonceLoader(consentSettings)

建構函式。

參數

consentSettings

選用

與法規和同意聲明相關的設定。

值不得為空值。

方法

loadNonceManager

公開

loadNonceManager(request) 會傳回包含非空值 NonceManager 的 Promise

參數

申請。

NonceRequest

要求,其中包含所要求 Nonce 的相關資訊。

值不得為空值。

傳回

non-null Promise containing non-null NonceManager 這個 Promise 會在 NonceManager 包含所有出價前資訊的加密 Nonce 可用時解析。