Space SDK Package

Space SDK Package

  • Users
  • Storage
  • Space Docs

@spacehq/sdk > SharePublicKeyOutput

SharePublicKeyOutput interface

Data object to represent public key of a user to share information with

Signature:

export interface SharePublicKeyOutput 

Properties

PropertyTypeDescription
idstringThis is the same the same unique id provided by the client on the SharePublicKeyInput
pkstringMultibase 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
typeShareKeyTypeType 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.
  • SharePublicKeyOutput interface
  • Properties
Space SDK Package
Docs
Getting StartedUsersStorage
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @spacestorage