@spacehq/sdk > SharePublicKeyOutput
SharePublicKeyOutput interface
Data object to represent public key of a user to share information with
Signature:
export interface SharePublicKeyOutput
Properties
Property | Type | Description |
---|---|---|
id | string | This is the same the same unique id provided by the client on the SharePublicKeyInput |
pk | string | Multibase base32 encoded public key of user. |
tempKey? | string | (Optional) Temporary access key for temp key types. To be used by user to access the invite |
type | ShareKeyType | Type is an enum that is ShareKeyType.Temp or ShareKeyType.Existing'temp' is when the input doesn't provide a valid 'pk' 'existing' is when the input had a pk set.It's useful for the user of the sdk to determine what type of action to be performed. |