mechanism
: !goog.storage.mechanism.IterableMechanism
The underlying
storage mechanism.
|
secret
: string
The secret key used to encrypt the storage.
|
Get an item wrapper (the item and its metadata) from the storage.
|
code » | ||||
![]()
Set an item in the storage.
Arguments:
|
code » |
![]()
No description.
|
code » | |
Get an item wrapper (the item and its metadata) from the storage.
WARNING: This returns an Object, which once used to be
goog.storage.RichStorage.Wrapper. This is due to the fact
that deserialized objects lose type information and it
is hard to do proper typecasting in JavaScript. Be sure
you know what you are doing when using the returned value.
|
code » | |
![]()
No description.
|
code » |
![]()
Gets an item from the data storage.
Arguments:
Returns: *
Deserialized value or undefined if not found.
|
code » | |||
![]()
Removes an item from the data storage.
Arguments:
|
code » | |||
![]()
Sets an item in the data storage.
Arguments:
|
code » |
The JSON serializer used to serialize values before encryption. This can
be potentially different from serializing for the storage mechanism (see
goog.storage.Storage), so a separate serializer is kept here.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
The secret used to encrypt the storage.
|
Code » |
![]()
No description.
|
Code » |
![]()
No description.
|
Code » |
![]()
No description.
|
Code » |
The mechanism used to persist key-value pairs.
|
Code » |
![]()
Metadata key under which the salt is stored.
|
Code » | |
![]()
No description.
|
Code » |