Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShareSASPermissions

Package version

This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a share. Setting a value to true means that any SAS which uses these permissions will grant permissions for that operation. Once all the values are set, this should be serialized with toString and set as the permissions field on a FileSASSignatureValues object. It is possible to construct the permissions string without this class, but the order of the permissions is particular and this class guarantees correctness.

export
class

ShareSASPermissions

Hierarchy

  • ShareSASPermissions

Index

Properties

Methods

Properties

create

create: boolean = false

Specifies Create access granted.

type

{boolean}

memberof

ShareSASPermissions

delete

delete: boolean = false

Specifies Delete access granted.

type

{boolean}

memberof

ShareSASPermissions

list

list: boolean = false

Specifies List access granted.

type

{boolean}

memberof

ShareSASPermissions

read

read: boolean = false

Specifies Read access granted.

type

{boolean}

memberof

ShareSASPermissions

write

write: boolean = false

Specifies Write access granted.

type

{boolean}

memberof

ShareSASPermissions

Methods

toString

  • toString(): string

Static parse

Generated using TypeDoc