Uplink-Nodejs  1.0.8
Nods.js binding fo libUplink
access_operations.cc File Reference
#include "access_operations.h"
#include <string>
Include dependency graph for access_operations.cc:

Functions

napi_value parse_accessc (napi_env env, napi_callback_info info)
 parse_accessc function is called from the javascript file parse_access parses serialized access grant string. More...
 
napi_value access_sharec (napi_env env, napi_callback_info info)
 parse_accessc function is called from the javascript file access_share creates new access grant with specific permission. Permission will be applied to prefixes when defined. More...
 
napi_value config_request_access_with_passphrasec (napi_env env, napi_callback_info info)
 config_request_access_with_passphrasec function is called from the javascript file config_request_access_with_passphrase requests for a new access grant using a passhprase.. More...
 
napi_value request_access_with_passphrasec (napi_env env, napi_callback_info info)
 request_access_with_passphrase function is called from the javascript file request_access_with_passphrasec requests for a new access grant using a passhprase. More...
 
napi_value access_serializec (napi_env env, napi_callback_info info)
 access_serializec function is called from the javascript file access_serialize serializes access grant into a string. More...
 
napi_value uplink_derive_encryption_keyc (napi_env env, napi_callback_info info)
 uplink_derive_encryption_keyc function is called from the javascript file uplink_derive_encryption_keyc derives a salted encryption key for passphrase using the salt. More...
 
napi_value uplink_access_override_encryption_keyc (napi_env env, napi_callback_info info)
 uplink_access_override_encryption_keyc function is called from the javascript file uplink_access_override_encryption_keyc overrides the root encryption key for the prefix in bucket with encryptionKey. This function is useful for overriding the encryption key in user-specific access grants when implementing multitenancy in a single app bucket. More...
 

Function Documentation

◆ access_serializec()

napi_value access_serializec ( napi_env  env,
napi_callback_info  info 
)

access_serializec function is called from the javascript file access_serialize serializes access grant into a string.

Here is the call graph for this function:

◆ access_sharec()

napi_value access_sharec ( napi_env  env,
napi_callback_info  info 
)

parse_accessc function is called from the javascript file access_share creates new access grant with specific permission. Permission will be applied to prefixes when defined.

Here is the call graph for this function:

◆ config_request_access_with_passphrasec()

napi_value config_request_access_with_passphrasec ( napi_env  env,
napi_callback_info  info 
)

config_request_access_with_passphrasec function is called from the javascript file config_request_access_with_passphrase requests for a new access grant using a passhprase..

Here is the call graph for this function:

◆ parse_accessc()

napi_value parse_accessc ( napi_env  env,
napi_callback_info  info 
)

parse_accessc function is called from the javascript file parse_access parses serialized access grant string.

Here is the call graph for this function:

◆ request_access_with_passphrasec()

napi_value request_access_with_passphrasec ( napi_env  env,
napi_callback_info  info 
)

request_access_with_passphrase function is called from the javascript file request_access_with_passphrasec requests for a new access grant using a passhprase.

Here is the call graph for this function:

◆ uplink_access_override_encryption_keyc()

napi_value uplink_access_override_encryption_keyc ( napi_env  env,
napi_callback_info  info 
)

uplink_access_override_encryption_keyc function is called from the javascript file uplink_access_override_encryption_keyc overrides the root encryption key for the prefix in bucket with encryptionKey. This function is useful for overriding the encryption key in user-specific access grants when implementing multitenancy in a single app bucket.

Here is the call graph for this function:

◆ uplink_derive_encryption_keyc()

napi_value uplink_derive_encryption_keyc ( napi_env  env,
napi_callback_info  info 
)

uplink_derive_encryption_keyc function is called from the javascript file uplink_derive_encryption_keyc derives a salted encryption key for passphrase using the salt.

Here is the call graph for this function: