Type Alias hdk::prelude::CapClaimEntry

source ·
pub type CapClaimEntry = CapClaim;
Expand description

The data type written to the source chain to denote a capability claim

Aliased Type§

struct CapClaimEntry {
    pub tag: String,
    pub grantor: HoloHash<Agent>,
    pub secret: CapSecret,
}

Fields§

§tag: String

A string by which to later query for saved claims. This does not need to be unique within a source chain.

§grantor: HoloHash<Agent>

AgentPubKey of agent who authored the corresponding CapGrant.

§secret: CapSecret

The secret needed to exercise this capability. This is the only bit sent over the wire to attempt a remote call. Note that the grantor may have revoked the corresponding grant since we received the claim so claims are only ever a ‘best effort’ basis.