Cotal TypeScript packages
Docs
API Reference
Preparing search index...
@cotal-ai/auth
index
createToolResultConsentSigner
Function createToolResultConsentSigner
createToolResultConsentSigner
(
deps
:
{
accountPublicKey
:
string
;
dir
:
string
;
idp
:
IdpConfig
;
now
?:
()
=>
number
;
ownerSecret
:
string
|
Uint8Array
<
ArrayBufferLike
>
;
record
:
ToolResultConsentRecorder
;
signer
:
ToolResultConsentSignerOptions
;
space
:
string
;
store
:
SecretStore
;
}
,
)
:
(
raw
:
unknown
)
=>
Promise
<
ToolResultConsent
>
Sign and record within the host process. Nothing returns until the create-only write succeeds.
Parameters
deps
:
{
accountPublicKey
:
string
;
dir
:
string
;
idp
:
IdpConfig
;
now
?:
()
=>
number
;
ownerSecret
:
string
|
Uint8Array
<
ArrayBufferLike
>
;
record
:
ToolResultConsentRecorder
;
signer
:
ToolResultConsentSignerOptions
;
space
:
string
;
store
:
SecretStore
;
}
Returns
(
raw
:
unknown
)
=>
Promise
<
ToolResultConsent
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
API Reference
Cotal TypeScript packages
Loading...
Sign and record within the host process. Nothing returns until the create-only write succeeds.