Optional
options: objectAn options object providing initialization params.
Return the contents of the username's auth file from cache.
The read
or readAll
methods must be called first in order to populate the cache.
If throwOnNotFound is not true, an empty object {} is returned if the org is not found.
username to get
Optional
decrypt: booleanif true, decrypt encrypted values
Optional
throwOnNotFound: trueif true, throw if the auth file does not already exist in the cache
Return the contents of all the auth files from cache. The read
or readAll
methods must be called first in order to populate the cache.
if true, decrypt encrypted values
Read the auth file for the given username. Once the file has been read, it can be re-accessed with the get
method.
username to read
if true, decrypt encrypted values
throw if file is not found for username
Read all the auth files under the global state directory
if true, decrypt encrypted values
Set the contents for a given username.
Update the contents for a given username.
Write the contents of the auth file for a given username.
Constructs a new
AsyncCreatable
instance. For internal and subclass use only. New subclass instances must be created with the static create method.