Module ic_agent::export[][src]

Expand description

A module to re-export types that are visible through the ic-agent API.

Structs

Principal

A principal describes the security context of an identity, namely any identity that can be authenticated along with a specific role. In the case of the Internet Computer this maps currently to the identities that can be authenticated by a canister. For example, a canister ID is a Principal. So is a user.

Enums

PrincipalError

An error happened while encoding, decoding or serializing a principal.