attest: TheCapabilityParser<CapabilityMatch<"ucan/attest", `did:${string}:${string}` & `did:${string}` & Phantom<{
    protocol: "did:";
}>, InferStruct<{
    proof: Schema<Link<unknown, number, number, 1>, any>;
}>>>

Issued by trusted authority (usually the one handling invocation) that attest that specific UCAN delegation has been considered authentic.

See

https://github.com/web3-storage/specs/blob/main/w3-session.md#authorization-session

Example

{
iss: "did:web:web3.storage",
aud: "did:key:z6Mkk89bC3JrVqKie71YEcc5M1SMVxuCgNx6zLZ8SYJsxALi",
att: [{
"with": "did:web:web3.storage",
"can": "ucan/attest",
"nb": {
"proof": {
"/": "bafyreifer23oxeyamllbmrfkkyvcqpujevuediffrpvrxmgn736f4fffui"
}
}
}],
exp: null
sig: "..."
}

Generated using TypeDoc