Constructors
constructor
- new SharedSpace(model): SharedSpace
Parameters
model: {
agent?: Agent<Service>;
delegation: Delegation<Capabilities>;
id: `did:key:${string}`;
meta: {
name?: string;
};
}
id: `did:key:${string}`
meta: {
name?: string;
}
Properties
model
Type declaration
id: `did:key:${string}`
meta: {
name?: string;
}
Accessors
meta
- get meta(): {
name?: string;
} Returns {
name?: string;
}
name
- get name(): string
Returns string
Methods
did
- did(): `did:key:${string}`
Returns `did:key:${string}`
withName
- withName(name): SharedSpace
Represents a shared space, meaning a space for which we have a delegation and consequently have limited authority over.