wascc_codec/
core.rs

1//! # Core Constants
2//!
3//! This module contains a few constants that are common enough that they
4//! can be shared here. Do not use this to share RPC data types
5
6pub const OP_PERFORM_LIVE_UPDATE: &str = "PerformLiveUpdate";
7pub const OP_IDENTIFY_CAPABILITY: &str = "IdentifyCapability";
8pub const OP_HEALTH_REQUEST: &str = "HealthRequest";
9pub const OP_INITIALIZE: &str = "Initialize";
10pub const OP_BIND_ACTOR: &str = "BindActor";
11pub const OP_REMOVE_ACTOR: &str = "RemoveActor";
12
13// Keys used for providing actor claim data to a capability provider during binding
14
15pub const CONFIG_WASCC_CLAIMS_ISSUER: &str = "__wascc_issuer";
16pub const CONFIG_WASCC_CLAIMS_CAPABILITIES: &str = "__wascc_capabilities";
17pub const CONFIG_WASCC_CLAIMS_NAME: &str = "__wascc_name";
18pub const CONFIG_WASCC_CLAIMS_EXPIRES: &str = "__wascc_expires";
19pub const CONFIG_WASCC_CLAIMS_TAGS: &str = "__wascc_tags";