You are here

function lockr_key_client in Lockr 7.2

Same name and namespace in other branches
  1. 7 lockr.module \lockr_key_client()

Returns the Lockr key client.

5 calls to lockr_key_client()
key_type_lockr_encryption_generate_key_value in plugins/key_type/lockr_encryption.inc
Generate a key value.
lockr_migrate_keys_batch_op in ./lockr.forms.inc
_lockr_delete_key in ./lockr.module
Deletes a key from Lockr.
_lockr_get_key in ./lockr.module
Gets a key from Lockr.
_lockr_set_key in ./lockr.module
Sets a key value in lockr.

File

./lockr.module, line 110
Hook implementations and callbacks for lockr.

Code

function lockr_key_client() {
  $base_client = lockr_client();
  if ($base_client === FALSE) {
    return FALSE;
  }
  return new KeyClient($base_client);
}