Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PutFileOptions

Specify a valid MIME type, encryption options, and whether to sign the [[UserSession.putFile]].

Hierarchy

  • EncryptionOptions
    • PutFileOptions

Index

Properties

Optional cipherTextEncoding

cipherTextEncoding: CipherTextEncoding

Optional contentType

contentType: undefined | string

Specifies the Content-Type header for unencrypted data. If the encrypt is enabled, this option is ignored, and the Content-Type header is set to application/json for the ciphertext JSON envelope.

Optional dangerouslyIgnoreEtag

dangerouslyIgnoreEtag: undefined | false | true

Ignore etag for concurrency control and force file to be written.

Optional encrypt

encrypt: boolean | string

Encrypt the data with the app public key. If a string is specified, it is used as the public key. If the boolean true is specified then the current user's app public key is used.

default

true

Optional sign

sign: boolean | string

Optional wasString

wasString: undefined | false | true

Generated using TypeDoc