@request-seal/core API
Preparing search index...
adapters/node-http
verification
Function verification
verification
(
req
:
unknown
,
)
:
Result
<
|
Readonly
<
{
authorization
:
"not_evaluated"
;
content
:
|
Readonly
<
{
bytes
:
number
;
checked
:
readonly
string
[]
;
kind
:
"content-digest"
|
"repr-digest"
;
unsupported
:
readonly
string
[]
;
}
,
>
|
"not_required"
;
freshness
:
|
"not_evaluated"
|
Readonly
<
{
created
:
number
|
null
;
expires
:
number
|
null
;
maxAge
:
number
|
null
;
now
:
number
;
skew
:
number
;
}
,
>
;
label
:
string
;
principal
:
|
"unattributed"
|
Readonly
<
{
identifier
:
string
;
kind
:
"agent"
;
origin
:
string
;
provenance
:
Readonly
<
{
fetchedAt
:
number
;
proof
:
Proof
;
revision
:
string
|
null
;
sourceType
:
"directory"
|
"jwks_uri"
|
"cimd"
;
}
,
>
;
thumbprint
:
string
;
type
:
"directory"
|
"jwks_uri"
|
"cimd"
;
}
,
>
|
Readonly
<
{
kind
:
"key"
;
thumbprint
:
string
}
>
;
profile
:
|
Readonly
<
{
name
:
"web_bot_auth"
;
revision
:
"draft-ietf-webbotauth-httpsig-protocol-00"
;
}
,
>
|
Readonly
<
{
name
:
"rfc9421"
}
>
|
ProfileStamp
<
never
>
;
replay
:
Readonly
<
{
retainUntil
:
number
;
store
:
string
}
>
|
"not_required"
;
signature
:
Readonly
<
{
algorithm
:
SigningAlgorithm
;
covered
:
readonly
(
readonly
[
(...)
,
(...)
]
)
[]
;
crypto
:
"valid"
;
keyid
:
string
|
null
;
parameters
:
Parameters
;
}
,
>
;
}
,
>
|
Readonly
<
{
authorization
:
"not_evaluated"
;
evidence
:
Readonly
<
Record
<
string
,
readonly
string
[]
>
>
;
ignored
:
readonly
string
[]
;
profile
:
WebBotAuthProfile
;
replay
:
Readonly
<
{
retainUntil
:
number
;
store
:
string
}
>
|
"not_required"
;
signatures
:
Readonly
<
Record
<
string
,
WebBotAuthSignature
>
>
;
}
,
>
|
Readonly
<
{
authorization
:
"not_evaluated"
;
bindings
:
|
"not_required"
|
readonly
(
readonly
[
QuorumBinding
,
"satisfied"
]
)
[]
;
count
:
number
;
mode
:
QuorumMode
;
negotiation
:
"not_requested"
|
"fulfilled"
;
nonqualifying
:
readonly
Readonly
<
{
label
:
string
;
layer
:
|
"binding"
|
"content"
|
"crypto"
|
"fields"
|
"freshness"
|
"input"
|
"internal"
|
"key"
|
"negotiation"
|
"policy"
|
"quorum"
|
"replay"
;
reason
:
|
"actor_unbound"
|
"invalid_binding"
|
"invalid_verification"
|
"tenant_unbound"
|
"unattributed"
|
"body_unavailable"
|
"digest_mismatch"
|
"digest_not_covered"
|
"digest_unsupported"
|
"invalid_signature"
|
"signature_base_failed"
|
"signer_failed"
|
"signing_failed"
|
"verifier_failed"
|
"duplicate_label"
|
"duplicate_parameter"
|
"invalid_signature_agent"
|
"invalid_signature_field"
|
"invalid_signature_input"
|
"label_in_use"
|
"label_mismatch"
|
"missing_signature"
|
"missing_signature_input"
|
"no_web_bot_auth_signature"
|
"unknown_label"
|
"created_in_future"
|
"expired"
|
"invalid_clock"
|
"lifetime_exceeded"
|
"missing_created"
|
"missing_expires"
|
"too_old"
|
"algorithm_mismatch"
|
"invalid_message"
|
"invalid_options"
|
"invalid_policy"
|
"invalid_profile"
|
"invalid_quorum"
|
"invalid_request"
|
"limit"
|
"signer_algorithm_mismatch"
|
"unsupported_component"
|
"internal"
|
"agent_unresolved"
|
"key_resolver_failed"
|
"unknown_key"
|
"inapplicable_component"
|
"invalid_accept_signature"
|
"negotiation_unfulfillable"
|
"negotiation_unfulfilled"
|
"algorithm_not_permitted"
|
"invalid_keyid"
|
"missing_required_component"
|
"nested_coverage_incomplete"
|
"test_key_rejected"
|
"unexpected_component"
|
"unexpected_signature"
|
"ambiguous_key_identity"
|
"binding_unsatisfied"
|
"deadline"
|
"nonqualifying_signature"
|
"quorum_not_met"
|
"commitment_failed"
|
"missing_replay_identifier"
|
"replayed"
|
"retention_exceeded"
|
"store_failed"
|
"store_timeout"
|
"store_unavailable"
;
slot
:
string
|
null
;
}
,
>
[]
;
principal
:
"unattributed"
;
profile
:
Readonly
<
{
name
:
"rfc9421"
}
>
;
qualifying
:
readonly
Readonly
<
{
label
:
string
;
principal
:
string
|
null
;
role
:
string
|
null
;
slot
:
string
;
}
,
>
[]
;
replay
:
"not_required"
;
required
:
readonly
string
[]
;
satisfied
:
readonly
string
[]
;
sharedPrincipal
:
boolean
|
null
;
signatures
:
Readonly
<
Record
<
string
,
Verification
>
>
;
unit
:
QuorumUnit
;
}
,
>
,
>
Read the verification result associated with a captured Node request.
Parameters
req
:
unknown
Returns
Result
<
|
Readonly
<
{
authorization
:
"not_evaluated"
;
content
:
|
Readonly
<
{
bytes
:
number
;
checked
:
readonly
string
[]
;
kind
:
"content-digest"
|
"repr-digest"
;
unsupported
:
readonly
string
[]
;
}
,
>
|
"not_required"
;
freshness
:
|
"not_evaluated"
|
Readonly
<
{
created
:
number
|
null
;
expires
:
number
|
null
;
maxAge
:
number
|
null
;
now
:
number
;
skew
:
number
;
}
,
>
;
label
:
string
;
principal
:
|
"unattributed"
|
Readonly
<
{
identifier
:
string
;
kind
:
"agent"
;
origin
:
string
;
provenance
:
Readonly
<
{
fetchedAt
:
number
;
proof
:
Proof
;
revision
:
string
|
null
;
sourceType
:
"directory"
|
"jwks_uri"
|
"cimd"
;
}
,
>
;
thumbprint
:
string
;
type
:
"directory"
|
"jwks_uri"
|
"cimd"
;
}
,
>
|
Readonly
<
{
kind
:
"key"
;
thumbprint
:
string
}
>
;
profile
:
|
Readonly
<
{
name
:
"web_bot_auth"
;
revision
:
"draft-ietf-webbotauth-httpsig-protocol-00"
;
}
,
>
|
Readonly
<
{
name
:
"rfc9421"
}
>
|
ProfileStamp
<
never
>
;
replay
:
Readonly
<
{
retainUntil
:
number
;
store
:
string
}
>
|
"not_required"
;
signature
:
Readonly
<
{
algorithm
:
SigningAlgorithm
;
covered
:
readonly
(
readonly
[
(...)
,
(...)
]
)
[]
;
crypto
:
"valid"
;
keyid
:
string
|
null
;
parameters
:
Parameters
;
}
,
>
;
}
,
>
|
Readonly
<
{
authorization
:
"not_evaluated"
;
evidence
:
Readonly
<
Record
<
string
,
readonly
string
[]
>
>
;
ignored
:
readonly
string
[]
;
profile
:
WebBotAuthProfile
;
replay
:
Readonly
<
{
retainUntil
:
number
;
store
:
string
}
>
|
"not_required"
;
signatures
:
Readonly
<
Record
<
string
,
WebBotAuthSignature
>
>
;
}
,
>
|
Readonly
<
{
authorization
:
"not_evaluated"
;
bindings
:
|
"not_required"
|
readonly
(
readonly
[
QuorumBinding
,
"satisfied"
]
)
[]
;
count
:
number
;
mode
:
QuorumMode
;
negotiation
:
"not_requested"
|
"fulfilled"
;
nonqualifying
:
readonly
Readonly
<
{
label
:
string
;
layer
:
|
"binding"
|
"content"
|
"crypto"
|
"fields"
|
"freshness"
|
"input"
|
"internal"
|
"key"
|
"negotiation"
|
"policy"
|
"quorum"
|
"replay"
;
reason
:
|
"actor_unbound"
|
"invalid_binding"
|
"invalid_verification"
|
"tenant_unbound"
|
"unattributed"
|
"body_unavailable"
|
"digest_mismatch"
|
"digest_not_covered"
|
"digest_unsupported"
|
"invalid_signature"
|
"signature_base_failed"
|
"signer_failed"
|
"signing_failed"
|
"verifier_failed"
|
"duplicate_label"
|
"duplicate_parameter"
|
"invalid_signature_agent"
|
"invalid_signature_field"
|
"invalid_signature_input"
|
"label_in_use"
|
"label_mismatch"
|
"missing_signature"
|
"missing_signature_input"
|
"no_web_bot_auth_signature"
|
"unknown_label"
|
"created_in_future"
|
"expired"
|
"invalid_clock"
|
"lifetime_exceeded"
|
"missing_created"
|
"missing_expires"
|
"too_old"
|
"algorithm_mismatch"
|
"invalid_message"
|
"invalid_options"
|
"invalid_policy"
|
"invalid_profile"
|
"invalid_quorum"
|
"invalid_request"
|
"limit"
|
"signer_algorithm_mismatch"
|
"unsupported_component"
|
"internal"
|
"agent_unresolved"
|
"key_resolver_failed"
|
"unknown_key"
|
"inapplicable_component"
|
"invalid_accept_signature"
|
"negotiation_unfulfillable"
|
"negotiation_unfulfilled"
|
"algorithm_not_permitted"
|
"invalid_keyid"
|
"missing_required_component"
|
"nested_coverage_incomplete"
|
"test_key_rejected"
|
"unexpected_component"
|
"unexpected_signature"
|
"ambiguous_key_identity"
|
"binding_unsatisfied"
|
"deadline"
|
"nonqualifying_signature"
|
"quorum_not_met"
|
"commitment_failed"
|
"missing_replay_identifier"
|
"replayed"
|
"retention_exceeded"
|
"store_failed"
|
"store_timeout"
|
"store_unavailable"
;
slot
:
string
|
null
;
}
,
>
[]
;
principal
:
"unattributed"
;
profile
:
Readonly
<
{
name
:
"rfc9421"
}
>
;
qualifying
:
readonly
Readonly
<
{
label
:
string
;
principal
:
string
|
null
;
role
:
string
|
null
;
slot
:
string
;
}
,
>
[]
;
replay
:
"not_required"
;
required
:
readonly
string
[]
;
satisfied
:
readonly
string
[]
;
sharedPrincipal
:
boolean
|
null
;
signatures
:
Readonly
<
Record
<
string
,
Verification
>
>
;
unit
:
QuorumUnit
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@request-seal/core API
Loading...
Read the verification result associated with a captured Node request.